(kishore Gaddam) In an enterprise application development scenario, we might need to aggregate some of the models/data sources and present it as a whole to the controller. For simplicity, let us take a case where we need to enter a new student Name, Grade, and the State as shown in Fig 1.
Tag: Development
How to Create an Asynchronous HTTP Handler in ASP.NET 4.5
(Bipin Joshi) The ability to create HTTP handlers is not new to ASP.NET. However, ASP.NET 4.5 makes it easy for you to create asynchronous HTTP handlers with the new async/await keywords and Tasks. This article illustrates how an asynchronous HTTP handler can be created and consumed in an ASP.NET 4.
Cleaner Conditional HTML Attributes In Razor Web Pages
(Mike Brind) Every so often, you will want to conditionally render HTML attributes or their values within your Razor Web Pages based on the outcome of some runtime logic. Often, the logic required to manage this can become messy and lead to unnecessary spaghetti code. This article explores a few com
Introduction to ASP.NET MVC
(Abhijit Annaldas) You may have read a lot of Model View Controller (MVC). I won’t explain the same thing here again. Rather I would like to explain how these M, V & C work in ASP.NET MVC. Note that words given in Italics are words that may not be technically correct, but used for explanation.
Select and Delete Data Using LINQ With WCF
(Vijay Prativadi) Question: What is select data using LINQ with WCF?
How does it work in C#? – Part 1
(Mohammad A Rahman) The C# language of the .NET(MSDN), has many features such as var to declare variable, implement the properties automatically and many more which makes life of a programmer easier.
Detecting Internet Connections from Your C# or VB.NET Programs
(Hannes Du Preez) Knowing whether or not the PC running your application is connected to the internet or not, is essential for future application updates. This article will demonstrate four different and very easy ways to determine an internet connection.
.NET’s Enum.HasFlag and performance costs
(roylawliet) In .NET 4.0, Microsoft introduced the Enum.HasFlag() method to the .NET libraries. While this function is extremely useful, it has some costs anyone invoking it should be aware of as it does not match up to its standard bit-check equivalent.
With TypeScript, Microsoft Embraces and Augments
(Andrew J. Brust) In my September 2012 column, “JavaScript Diplomacy”, I wrote about the importance of JavaScript to Microsoft. Now, as if to add an exclamation point to those thoughts, Microsoft has released its new statically typed JavaScript superset, TypeScript.
Customize the SimpleMembership in ASP.NET MVC 4.0
(Thang Chung) As we know, .NET 4.5 have come up to us, and come along with a lot of new interesting features as well. Visual Studio 2012 was also introduced some days ago. They made us feel very happy with cool improvement along with us. Performance when loading code editor is very good at the momen
