Server-Side Magazine

Category: ASP.Net

Quick Ways to Boost Performance and Scalability of ASP.NET, WCF and Desktop Clients

There are some simple configuration changes that you can make on machine.config and IIS to give your web applications significant performance boost. These are simple harmless changes but make a lot of difference in terms of scalability. [...]

10 Caching Mistakes that Break your App

Caching large objects, duplicate objects, caching collections, live objects, thread unsafe caching and other common mistakes break your app instead of making it fly. Learn ten common caching mistakes devs make. [...]

Unit Testing and Integration Testing in Business Applications

This article presents some realistic unit and integration test examples in a N-tier web application to assist in writing tests that provide confidence in moving towards Test Driven Development (TDD) [...]

To push, or not to push, the Web Socket dilemma

Web Sockets is a relatively new specification introduced as part of HTML 5 to support a full duplex-communication channel over http in web browsers.  This  represents a great advance toward real-time and event driven web applications. Before Web Sockets jumped in scene, the only available  solutions for emulating real time notifications in web applications were different variants of Http Long polling. Real time notifications in this context became particularly important for specific scenarios, such as reporting stock pricing updates, online gaming or news reports to name a few. [...]

Learn MVC (Model view controller) Step by Step in 7 days

As the article name says learn MVC, so the agenda is simple we are going to learn ASP.NET MVC [...]

Rethinking Models in MVC

Jon Galloway is researching dynamic ASP.NET MVC 3 models using Mono’s Compiler as a Service. Meanwhile Karsten Januszewski is looking into deserialized JSON in lieu of statically typed models. [...]

Diving into ASP.NET MVC 3 Model Metadata Providers

ASP.NET MVC provides a great support for DataAnnotation attributes which can be used to enable rich metadata behavior within MVC models. ASP.NET MVC 3 introduced the support for new DataAnnotation DisplayAttribute. ModelMetadataProvider can be used to create ModelMetadata based on the model [...]

YouGrade – Asp.NET MVC Multimedia Exam Suite

A multimedia exam suite built on Asp.NET and Youtube [...]

.NET – Start Asynchronous Parallel Task and Cancel Them Too

I was having a good discussion with a couple of friends about the support of parallel tasks in .NET. If you too are interested in the same, I have written a couple of articles that can give you an overview of the support for parallelism and concurrency in .NET applications. [...]

Introduction to ASP.Net Ajax controls

This is going to be my first post on Ajax (Asynchronous Javascript and XML) and Ajax controls. Ajax is my favourite technology and I use it a lot when I build ASP.Net applications. This is going to be a beginner’s level post on Ajax in ASP.Net applications. [...]

RestSharp: Simple REST and HTTP API Client for .NET

I’m a big fan of making idiomatic language bindings for APIs. Making common tasks such as URI generation, transport, authentication, and payload parsing configurable options and providing a higher-level API lets application developers focus on the business domain instead of low-level networking. [...]

Load Testing ASP.NET Applications using Apachebench

If you are developing ASP.NET web applications, you might wish to evaluate their performance. Evaluating web app performance in a web server is known as “load testing”. The objective of load testing is to assess the programs performance in a “simulated real-life scenario”. [...]

Components, Aspects and Dynamic Decorator for ASP.NET MVC Application

Apply components, aspects and dynamic decorator principles to ASP.NET MVC application [...]

Best Practices to Improve ASP.NET Web Application Performance

Performance tuning can be tricky. It’s especially tough in Internet-related projects with lots of components running around, like HTML client, HTTP network, Web server, middle-tier components, database components, resource-management components, TCP/IP networks, and database servers. [...]

Entity Framework Implementation Using Asp.Net MVP

Asp.Net MVP pattern was evolved during the late 90’s. It is the descendent of MVC pattern with a slight change in the design pattern ie. it implements the observer design approach of MVC. The rest of the components remain the same which means the model and view does their task as in MVC. [...]

Clear Cross-Cutting Concerns with Aspect Oriented Programming in .NET

How to use the PostSharp AOP library to encapsulate cross-cutting concerns into efficient and re-usable modules. [...]

Actions in ASP.NET MVC 3

A deeper look into different Actions, Action filters, and selectors used inside a Controller. [...]

Protect Files and Folders Using HttpHandlers in ASP.NET

In this article, I will show you how you can effectively protect a file or folder by using the IHttpHandler. From this, I hope that people will learn a bit more about HttpHandlers and why they should/should not use them. I also hope that people will get a better understanding of how to implement their own handler. [...]

Components, Aspects and Dynamic Decorator for ASP.NET Application

As discussed in the Components, Aspects and Dynamic Decorator, application development involves tasks specific to an application type and tasks independent of an application type. [...]

Adding Modules Dynamically to ASP.NET

As you may already know, ASP.NET 4.0 brought along with it a new mechanism to execute methods before the application start event (the Application_Start method): the PreApplicationStartMethodAttribute. This attribute, when applied to an assembly, indicates a method which is to be run before the application starts. [...]

Working with Dynamic Templates in ASP.NET

This article explains how to apply templates dynamically to a Repeater Control in ASP.NET [...]

Convert Url String to Hyperlinks

Nice code on how to convert string to hyperlinks in ASP.NET [...]

8 Solutions to Export Data to Excel for ASP.NET

Excel is powerful and useful, people frequently export data to Excel for future use. This article introduces several methods of exporting data to Excel. [...]

Controllers and Routers in ASP.NET MVC 3

ASP.NET MVC provides a new way of creating web applications which is more extensible and testable. We discussed about ASP.NET MVC in Introduction to ASP.NET MVC 3. Here, we will have a deeper look into the two pillars of ASP.NET MVC – Routers and Controllers. [...]

ASP.NET MVC: How to implement invitation codes support

Last Christmas I blogged about how to make ASP.NET MVC users authorized only if they have profiles created. This works well on public sites where everybody can be user. Sometimes we [...]

Page 1 of 212