Mikesdotnetting
Name: Mikesdotnetting
Score: 430.09
Last Seen: 24 days, 1 hour, 55 minutes ago
Member Since: 9 June, 2009
DotNetShoutout
atom rss
8
shouts

ASP.NET MVC v. Web Forms Debate - My View

published 22 days, 5 hours, 27 minutes ago posted by MikesdotnettingMikesdotnetting 24 days, 1 hour, 55 minutes ago
Wednesday, February 24, 2010 6:40:36 PM GMT Monday, February 22, 2010 10:13:01 PM GMT
ASP.NET MVC v. Web Forms Debate - My View   It seems that the whole world (and Margate) is having its say on which is better - MVC or Web Forms. Scott Guthrie posted his views on technical debates in general, and then contributed his thoughts on MVC v. Web Forms. Ian Cooper has an interesting contribution to make to the debate too. Rob Conery (formerly of Microsoft) posted probably the most linked to opinion on the matter. (There - I've just added another link...) A lot of other blog posts around s... (more)
category: ASP.NET | clicked: 66 | comment | | source: www.mikesdotnetting.com
tags: asp net, asp net mvc, ASPNET, ASPNETMVC
3
shouts

ASP.NET MVC is not all about Linq to SQL

posted by MikesdotnettingMikesdotnetting 25 days, 15 hours, 43 minutes ago
Sunday, February 21, 2010 8:25:26 AM GMT
ASP.NET MVC is not all about Linq to SQL   Pretty much every sample application that illustrates ASP.NET MVC uses Linq To SQL or the Entity Framework as the data access method. I've seen a number of questions posted to the forums at www.asp.net asking if there are any alternatives, and indeed there are. This article will look at using plain ADO.NET within a data access layer to provide dynamic content to a typical small CRUD application.   For the purposes of this excercise, I shall be ... (more)
category: ASP.NET | clicked: 11 | comment | | source: www.mikesdotnetting.com
tags: asp net, asp net mvc, ASPNETMVC, MVC
7
shouts

Using gacutil.exe and Reflection to generate the Exceptions Cheat Sheet

published 35 days, 12 hours, 37 minutes ago posted by MikesdotnettingMikesdotnetting 36 days, 16 hours, 38 minutes ago
Thursday, February 11, 2010 11:30:56 AM GMT Wednesday, February 10, 2010 7:30:01 AM GMT
Using gacutil.exe and Reflection to generate the Exceptions Cheat Sheet   The most recent addition to my Cheat Sheets features details of all the Exceptions that can be found in the most commonly used assemblies within ASP.NET development. Compiling this information was an interesting challenge. I could have simply copy-pasted from MSDN, but that would have been extremely tedious. Instead, I ended up with a blend of Linq to XML, Reflection, a dash of Regex and the Global Assembly Cache Tool - gacut... (more)
category: ASP.NET | clicked: 41 | comment | | source: www.mikesdotnetting.com
tags: asp net
4
shouts

Cheat Sheet - .NET Framework Exceptions

posted by MikesdotnettingMikesdotnetting 38 days, 18 hours, 29 minutes ago
Monday, February 08, 2010 5:39:08 AM GMT
Cheat Sheet - .NET Framework Exceptions   Here's a list of Exceptions that can be found in the assemblies which are most commonly used in ASP.NET development.  Ideally, you should be as specific as possible when catching or throwing Exceptions. The more specific you are, the less work the CLR has to do in locating the appropriate catch block, and the more informative your error messages are, which should help speed up identifying the source of any problems.   A forthcoming article wil... (more)
category: ASP.NET | clicked: 7 | comment | | source: www.mikesdotnetting.com
tags: asp net
7
shouts

Simple task Scheduling using Global.asax

published 45 days, 10 hours, 24 minutes ago posted by MikesdotnettingMikesdotnetting 47 days, 1 hour, 41 minutes ago
Monday, February 01, 2010 1:44:24 PM GMT Saturday, January 30, 2010 10:26:35 PM GMT
Simple task Scheduling using Global.asax   A frequent requirement for ASP.NET developers is to schedule tasks at regular intervals. This can include site maintenance tasks, like cleaning up old files, emailing newsletters on a schedule etc. This article examines one easy option for managing tasks like these without having to configure external tools, and discusses a couple of alternatives.   If you have access to the web server itself, you will probably use WMI to schedule tasks (http:/... (more)
category: ASP.NET | clicked: 72 | comment | | source: www.mikesdotnetting.com
tags: asp net, ASPNET
6
shouts

Get The Drop On ASP.NET MVC DropDownLists

posted by MikesdotnettingMikesdotnetting 70 days, 2 hours, 38 minutes ago
Thursday, January 07, 2010 9:30:22 PM GMT
Get The Drop On ASP.NET MVC DropDownLists   DropDownLists in ASP.NET MVC seem to cause a fair amount of confusion to developers fresh from Web Forms World. This article looks to provide you with all (well, most) of what you need to know to get your DropDownLists working in ASP.NET MVC.   DropDownList, ComboBox, call it what you like, but it always renders as an html select element. It has an opening tag. In between, each "ListItem" is housed within an tag. Optionally, they may be subd... (more)
category: ASP.NET | clicked: 19 | comment | | source: www.mikesdotnetting.com
tags: asp net, ASPNETMVC
12
shouts

ASP.NET MVC - Prevent Image Leeching with a Custom RouteHandler

published 79 days, 10 hours, 39 minutes ago posted by MikesdotnettingMikesdotnetting 83 days, 1 hour, 35 minutes ago
Tuesday, December 29, 2009 1:29:13 PM GMT Friday, December 25, 2009 10:33:07 PM GMT
ASP.NET MVC - Prevent Image Leeching with a Custom RouteHandler   Have you ever noticed an unusually high number of requests in your web server log files for image files? It may well be that someone is linking to your images from their own site, and basically stealing your bandwidth. Here's how to implement a custom RouteHandler within an ASP.NET MVC application to prevent people leeching your images.   To begin with, I'll start by reviewing the flow of execution when a request comes ... (more)
category: ASP.NET | clicked: 65 | comment | | source: www.mikesdotnetting.com
tags: ASPNETMVC
9
shouts

Reading the ProviderUserKey when using the SqlMembershipProvider

published 85 days, 3 hours, 26 minutes ago posted by http://rtpharry.myopenid.com/http://rtpharry.myopenid.com/ 87 days, 4 minutes ago
Wednesday, December 23, 2009 8:42:22 PM GMT Tuesday, December 22, 2009 12:03:34 AM GMT
The ProviderUserKey gives access to a unique identifier for each of the members in your membership data store. If you're doing a large amount of lookup's or want to cross link to another table you will find this technique will give you better performance than using the UserName property. (more)
category: ASP.NET | clicked: 52 | comment | | source: runtingsproper.blogspot.com
tags: .NET, article, ASP.NET, Membership, MSDN
8
shouts

ASP.NET MVC Uploading and Downloading Files

published 85 days, 16 hours, 41 minutes ago posted by MikesdotnettingMikesdotnetting 87 days, 1 hour, 30 minutes ago
Wednesday, December 23, 2009 7:27:27 AM GMT Monday, December 21, 2009 10:37:30 PM GMT
ASP.NET MVC Uploading and Downloading Files   If you come to ASP.NET MVC from a purely ASP.NET Web Forms background, one of the first things you are likely to notice is that all those nice easy Server Controls have disappeared. One of those is the FileUpload, and its absence seems to cause a few problems. This article looks at how to upload files to the server in an MVC world, and how to get them back from the server to the user again.   In Web Forms, when you drag a FilUpload control... (more)
category: ASP.NET | clicked: 89 | comment | | source: www.mikesdotnetting.com
tags: ASPNETMVC
10
shouts

Storing Files and Images in Access with ASP.NET

published 100 days, 6 hours, 35 minutes ago posted by MikesdotnettingMikesdotnetting 102 days, 3 hours, 8 minutes ago
Tuesday, December 08, 2009 5:32:38 PM GMT Sunday, December 06, 2009 9:00:15 PM GMT
Storing Files and Images in Access with ASP.NET   Should you store files and images in the database or the filesystem in an ASP.NET application?  With SQL Server this is a dilemma, with both approaches having their pros and cons.  When it comes to Access, the decision is much easier to make.  Because an Access database is restricted to 2Gb, it makes more sense to store files in the file system.  However, sometimes, you may not have the choice. If you have to use the database, here's how. ... (more)
category: ASP.NET | clicked: 42 | comment | | source: www.mikesdotnetting.com
tags: ASP.NET, MS Access
4
shouts

Simple File Download Protection with ASP.NET

posted by MikesdotnettingMikesdotnetting 113 days, 13 hours, 25 minutes ago
Wednesday, November 25, 2009 10:43:19 AM GMT
Simple File Download Protection with ASP.NET   When it comes to protecting files from unauthorised downloading, the vast majority of articles offer solutions that involve mapping common file types (.pdf, .txt, .doc etc) to ASP.NET within Internet Information Services.  However, often in a shared hosting environment, you don't have access to IIS and the hosting company will not agree to providing such mappings for you, so what do you do?   Let's start by examining the problem is a litt... (more)
category: ASP.NET | clicked: 21 | comment | | source: www.mikesdotnetting.com
tags: ASPNET, Http Handler
11
shouts

What ASP.NET Can And Can't Do

published 113 days, 15 hours, 17 minutes ago posted by MikesdotnettingMikesdotnetting 115 days, 1 hour, 40 minutes ago
Wednesday, November 25, 2009 8:51:18 AM GMT Monday, November 23, 2009 10:28:27 PM GMT
What ASP.NET Can And Can't Do   If you are new to web development and choose ASP.NET Web Forms as your starting point, you may be forgiven for not understanding how ASP.NET works, and what its role is. This article covers the basics which should help you discover your limits.   ASP.NET Web Forms is a great paradigm in my view, but it has a lot to answer for. One of the main things it encourages is Windows Forms developers to come to the dark side of web application development. Web app... (more)
category: ASP.NET | clicked: 90 | comment | | source: www.mikesdotnetting.com
8
shouts

Displaying Google Analytics Data in ASP.NET

published 142 days, 11 hours, 9 minutes ago posted by MikesdotnettingMikesdotnetting 143 days, 1 hour, 36 minutes ago
Tuesday, October 27, 2009 12:59:23 PM GMT Monday, October 26, 2009 10:32:01 PM GMT
Displaying Google Analytics Data in ASP.NET   If you have a Google Analytics account, you can use the Data Export API provided by Google to access your visitor stats, and retrieve them for use elsewhere. Here's how to display some stats in ASP.NET.   When I first put this site together, it was in a bit of a rush. I decided to keep a count of the number of visits for each article, but did it very simply. All I did was increment a database field called Views by one each time a page was re... (more)
category: ASP.NET | clicked: 107 | comment | | source: www.mikesdotnetting.com
tags: ASP.NET, Google Analytics
13
shouts

Dependency Injection and Inversion of Control with ASP.MET MVC

published 157 days, 12 hours, 26 minutes ago posted by MikesdotnettingMikesdotnetting 159 days, 2 hours, 13 minutes ago
Monday, October 12, 2009 11:42:19 AM GMT Saturday, October 10, 2009 9:55:14 PM GMT
Dependency Injection and Inversion of Control with ASP.MET MVC   As you delve more into ASP.NET MVC you start to come across a whole new way of doing things that Web Forms development didn't really expose you to. Inversion of Control (IoC) and Dependency Injection (DI) are two phrases that crop up a lot in the MVC space. So what are they all about? And should you care?   I should start by stating the IoC and DI are not unique to ASP.NET MVC. They have been around a long time. It's just ... (more)
category: ASP.NET | clicked: 136 | comment | | source: www.mikesdotnetting.com
tags: ASP .NET, ASPNETMVC, Dependecy Injection, Inversion of control, IoC, StructureMap
9
shouts

Parameterized IN clauses with ADO.NET and LINQ

published 170 days, 13 hours, 42 minutes ago posted by MikesdotnettingMikesdotnetting 171 days, 2 hours, 37 minutes ago
Tuesday, September 29, 2009 10:25:40 AM GMT Monday, September 28, 2009 9:31:07 PM GMT
Parameterized IN clauses with ADO.NET and LINQ   Since my article on using parameters for Preventing SQL Injection In ASP.NET, I have had a few emails asking how to do the same with an IN clause expression. In this entry, I explore a couple of ways to do this.   Just in case you don't know, IN() takes a subquery or expression. The expression is a comma-separated list of values, so the following SQL:SELECT * FROM Products WHERE CategoryID IN (1,4,8) will return all Products that have a... (more)
category: ASP.NET | clicked: 70 | comment | | source: www.mikesdotnetting.com
tags: ADO.NET, Linq, sql IN, SQL Injection
5
shouts

Microsoft Chart Controls to PDF with iTextSharp and ASP.NET MVC

posted by MikesdotnettingMikesdotnetting 184 days, 2 hours, 49 minutes ago
Tuesday, September 15, 2009 9:19:19 PM GMT
Microsoft Chart Controls to PDF with iTextSharp and ASP.NET MVC   If you are developing a business application using ASP.NET MVC, and need to produce some kind of dashboard-style reporting, the Chart Controls from Microsoft are a good place to start. Having a summary in some form of document, say a PDF is also a common requirement. This article introduces you to satisfying both needs.   A Senior executive came rushing out of his office and shouted at his underlings: "Has anyone seen my... (more)
category: ASP.NET | clicked: 29 | comment | | source: www.mikesdotnetting.com
tags: ASPNETMVC, Chart Controls, iTextSharp
7
shouts

jQuery Star Rating with ASP.NET MVC

posted by MikesdotnettingMikesdotnetting 191 days, 5 hours, 39 minutes ago
Tuesday, September 08, 2009 6:29:26 PM GMT
jQuery Star Rating with ASP.NET MVC   There are a number of jQuery star rating plugins to choose from. All have their pros and cons. For this site, I decided to implement the one from FyneWorks because it allows for split stars. Here's how I did it.   The star rating system allows people to easily provide feedback on a blog item if they don't feel like submitting a comment. The rating plugin that I chose can be configured to allow any score to be applied, although I opted to allow peop... (more)
category: ASP.NET | clicked: 73 | comment | | source: www.mikesdotnetting.com
tags: Ajax, ASPNETMVC, jQuery
7
shouts

Preventing SQL Injection in ASP.NET

published 211 days, 7 hours, 12 minutes ago posted by MikesdotnettingMikesdotnetting 211 days, 17 hours, 5 minutes ago
Wednesday, August 19, 2009 4:55:54 PM GMT Wednesday, August 19, 2009 7:03:14 AM GMT
I, and many other contributors to the forums at www.asp.net find examples of code posted on a daily basis that are vulnerable to SQL Injection attacks. We continue to exhort beginners (and some more experienced programmers) to code against them. This article examines just how serious a flaw vulnerable coding can be, and what you should do about it. (more)
category: ASP.NET | clicked: 55 | comment | | source: www.mikesdotnetting.com
tags: ADO.NET, ASP.NET, SQL Injection
5
shouts

ASP.NET MVC - Battle of the Books

posted by MikesdotnettingMikesdotnetting 234 days, 11 hours, 35 minutes ago
Monday, July 27, 2009 12:33:23 PM GMT
ASP.NET MVC - Battle of the Books   There's always a splurge of new books that come out around the RTM of any new ASP.NET related technology. Authors all over the place are burning the midnight oil, cursing the changes from one CTP to the next, through to Betas and hoping against hope that the Release Candidates and final RTMs aren't stuffed with "breaking changes" which inevitably mean total rewrites of whole sections or chapters in their draft. And then the race between the publishers is on, as e... (more)
category: ASP.NET | clicked: 4 | comment | | source: www.mikesdotnetting.com
tags: ASP .NET MVC Framework, ASPNETMVC
14
shouts

Extreme ASP.NET: Guiding Principles For Your ASP.NET MVC Applications

published 263 days, 5 hours, 24 minutes ago posted by https://me.yahoo.com/mosessaur#7fe0dhttps://me.yahoo.com/mosessaur#7fe0d 264 days, 22 hours, 53 minutes ago
Sunday, June 28, 2009 6:44:09 PM GMT Saturday, June 27, 2009 1:15:07 AM GMT
In this column, the author lays out some guiding principles that you should follow when working with the ASP.NET MVC framework. (more)
category: ASP.NET | clicked: 77 | comment | | source: msdn.microsoft.com
tags: ASPNETMVC, MSDN, MSDN Magazine
Previous 1 2 Next