Attention: We are retiring the ASP.NET Community Blogs. Learn more >

Thoughts on .Net & Coding

.Net Articles, tutorials, reviews, code and more...

  • Top 10 Features of ASP.NET Core for ASP.NET MVC Developers

    ASP.NET Core 1.0 (formerly ASP.NET 5) provides a revamped Web development framework geared towards the requirements of modern Web applications. The new framework, currently in RC1, requires you to learn many new concepts not found in ASP.NET MVC 5. To that end, this article enumerates a few important features that ASP.NET MVC 5 developers should know as they prepare to learn this new framework.

  • ASP.NET MVC with jQuery and AngularJS Ajax Training in Thane

    Next batches of ASP.NET MVC with jQuery and AngularJS Ajax course are scheduled in the month of July 2016. Learn MVC 5, Entity Framework 6, Web API 2, jQuery Ajax, AngularJS SPA and more. Small batches, personal attention and real world examples. Registration has already started. In case you or your friends are interested to join please get in touch with us as soon as possible. The courses are conducted on Sundays in Thane. You may read more details here.

  • Utilize Server Sent Events in ASP.NET MVC

    Some web applications application need to show data in real-time. As soon as the data is made available at the server, it immediately needs to be displayed to the end user. Traditionally developers used to poll the server periodically to check if a new data is available. Wouldn't it be nice if server notifies the client of new data rather than client checking with the server periodically? That is what Server Sent Events (SSE) allow you to do.

  • Use Session in ASP.NET Core 1.0

    ASP.NET developers often use Session object to store session wide data. Storing and retrieving values in the Session object is quite straightforward in ASP.NET web forms and ASP.NET MVC. However, ASP.NET Core deal with the session data in a different way. This article introduces you to the foundations of session data management in ASP.NET Core.

  • AngularJS Directive That Invokes ASP.NET MVC Action

    Recently one of the readers asked whether an AngularJS directive can invoke ASP.NET MVC actions. This article shows how a simple AngularJS directive can be created that invokes an ASP.NET MVC action using Ajax. Usually an AngularJS directive is used to perform some UI centric operation. However, nothing prevents an AngularJS directive from invoking some server side code (say an action method) to get some job done.

  • Use Lazy Initialization to Delay Object Instantiation

    It is a common practice to declare object variables as the class members and initialize them in the constructor of the class. At times, however, you need to delay the object instantiation until its first use. One way to achieve such an deferred object instantiation is to write custom code that implements Lazy Load pattern. An easy alternative is to use .NET framework's inbuilt lazy initialization feature. To that end this article explains the later approach.