39 items found in the ASP.NET 3.5 Category
ASP.NET MVC v. Web Forms Debate - My View
Mikesdotnetting
-
22 February 2010 21:53
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 scream that MVC is better because its better. One even tries to posit the notion that some kind of score card approach can help you decide. More...
Filed under: General ASP.NET 3.5 ASP.NET MVC as General
Using gacutil.exe and Reflection to generate the Exceptions Cheat Sheet
Mikesdotnetting
-
10 February 2010 07:28
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 - gacutil.exe. Here's the full story. More...
Filed under: C# Visual Studio General ASP.NET 3.5 as Article
Cheat Sheet - .NET Framework Exceptions
Mikesdotnetting
-
07 February 2010 17:19
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. More...
Filed under: C# General ASP.NET 3.5 as Cheat Sheet
Simple task Scheduling using Global.asax
Mikesdotnetting
-
30 January 2010 22:22
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. More...
Filed under: ASP.NET 3.5 as Article
Storing Files and Images in Access with ASP.NET
Mikesdotnetting
-
06 December 2009 19:46
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...
Filed under: MS Access ASP.NET 3.5 as Article
Simple File Download Protection with ASP.NET
Mikesdotnetting
-
25 November 2009 09:09
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? More...
Filed under: ASP.NET 3.5 as Article
What ASP.NET Can And Cannot Do
Mikesdotnetting
-
23 November 2009 22:26
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. More...
Filed under: Javascript General ASP.NET 3.5 as Article
Book Review - Professional Enterprise .NET
Mikesdotnetting
-
28 October 2009 15:49
I reviewed an ASP.NET Architecture and Design book recently. It was OK. I felt it was a bit thin, and didn't cover topics beyond beginner level. Then I got sent a review copy of another book: Professional Enterprise .NET. Having read it, this is the book that the previous book should want to be when it grows up. More...
Filed under: ASP.NET 3.5 ASP.NET MVC Book Review as General
Displaying Google Analytics Data in ASP.NET
Mikesdotnetting
-
26 October 2009 22:30
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. More...
Filed under: ASP.NET 3.5 ASP.NET MVC as Article
Book Review - ASP.NET 3.5 Application Architecture and Design
Mikesdotnetting
-
11 October 2009 18:36
Back in the day, when I began to get interested in ASP.NET application architecture and design, I spent hours hunting for a book that would explain all I needed to know. I wanted one that focused on ASP.NET, with its special demands, rather than a general .NET development book. I wanted a book that would explain what layers and tiers were, and how I should separate code out to make it more scalable and reusable. I wanted a book that would explain how I could take my skills to the next level. I couldn't find one. There was a big gap in the market. Vivek Thakur has attempted to fill this gap, with this apty named title: ASP.NET 3.5 Application Architecture and Design. More...
Filed under: General ASP.NET 3.5 Book Review as General
Parameterized IN clauses with ADO.NET and LINQ
Mikesdotnetting
-
28 September 2009 21:53
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. More...
Filed under: C# ADO.NET LINQ ASP.NET 3.5 as Article
Preventing SQL Injection in ASP.NET
Mikesdotnetting
-
19 August 2009 07:28
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...
Filed under: SQL ADO.NET ASP.NET 3.5 as Article
A Degradable jQuery AJAX Email Form for ASP.NET MVC
Mikesdotnetting
-
29 May 2009 15:58
Pretty much every web site on the Internet features a form for users to provide feedback via email to site owners. This site is no different. Migrating to ASP.NET MVC requires a slightly different approach to that used by Web Forms development, so this article looks at one way to implement a web site contact form using the MVC framework and jQuery that degrades nicely. AJAX functionality is said to be "degradable" if a way is provided for the process to work, even though users don't have Javascript available to them. More...
Filed under: AJAX ASP.NET 3.5 jQuery ASP.NET MVC as Article
Many ways to communicate with your database using jQuery AJAX and ASP.NET
Mikesdotnetting
-
04 May 2009 18:39
I've recently done a series of articles that feature calling databases via AJAX using jQuery. In pretty much all of the articles, I have used Web Services as my data access mechanism. Judging from the comments that some of the articles have attracted, this has caused a little confusion. But Web Services is just one mechanism. Page Methods and simple ASPX files are two more. And finally, as pointed out by a commenter, Benny Halperin, ASHX files are yet another option. In this article, I shall review each of these approaches. More...
Filed under: AJAX ASP.NET 3.5 jQuery as Article
Build your own Whois Lookup with ASP.NET and jQuery
Mikesdotnetting
-
14 April 2009 22:39
IP addresses can reveal a lot about your web visitors. For an ecommerce site, the owner or registrant of the visitor's IP address can be very useful information. You could paste each visitor IP address into one of the many free IP Lookup sites available, but that can be time-consuming and tedious. Or you could build your own lookup. This article shows how this can be done pretty quickly. More...
Filed under: AJAX Javascript ASP.NET 3.5 jQuery as Article

