Posts

Razor View Engine in MVC 3

Image
In this e-book you will learn all about Razor View Engine introduced with the release of MVC 3. I will walk through the simple steps and even I will keep my ideas simple so that you can understand the Razor View Engine quickly. My aim through this e-book is to teach Razor so I am going to play a little loose with rest all. Get it Now (PDF Format e-book and Sample Codes) Published on debugmode.net by Dhananjay Kumar: debugmode.net Published on cshandler.com by Amit Choudhary: cshandler.com Published on FB by Kunal Chowdhury: facebook.com Published on kunal-chowdhury.com by Kunal Chowdhury: kunal-chowdhury.com Published on justlikeamagic.com by Mohammad Elsheimy: justlikeamagic.com Published on coolthingoftheday.blogspot.com: coolthingoftheday.blogspot.com Published on

A Quick tour of the Razor View Engine by comparing it to ASPX View Engine

Introduction In this post, I will give you a quick tour of the Razor View Engine syntax by comparing it to ASPX View Engine so that you can recognize the new elements when you enter in MVC3 learning. Razor is the name of the new view engine introduced by Microsoft with the release of MVC3. The ASP.NET view engines processes web pages, looking for special elements that contain server-side instructions. As we already know the standard ASPX view engine relies on the <% and %> elements, which is familiar to all ASP.NET developers. But with Razor View Engine, the MVC development team has introduced a new set of syntax elements, centered on the @ symbol. If you are familiar with the <% %> syntax, you won’t have too many problems with Razor, although there are a few new rules. Razor views have a file extension of .cshtml, as opposed to th

Accelerate the start-up of Windows Operating Systems

Introduction This utility, which has the most comprehensive knowledge of auto-starting locations of any startup monitor, shows you what programs are configured to run during system bootup or login, and shows you the entries in the order Windows processes them. These programs include ones in your startup folder, Run, RunOnce, and other Registry keys. You can configure Autoruns to show other locations, including Explorer shell extensions, toolbars, browser helper objects, Winlogon notifications, auto-start services, and much more. Autoruns goes way beyond the MSConfig utility bundled with Windows Me and XP. More Information Download

Managed and Unmanaged Code

Managed and Unmanaged Code Managed Languages made of assemblies (EXE and DLLs) containing code written in intermediate language (IL). This code is not machine code. When the application runs, the code is executed by the .NET runtime, which in turn executes the corresponding machine code. The code is managed by the .NET runtime. Managed code is typically slower than machine code, because of the additional layer between the code and the machine. However, the .NET framework offers many advantages over unmanaged code: ·    A huge number of built-in high level libraries. ·    Stable code has fewer errors ·    Errors will be found when you compile the application, instead of appearing at runtime.   Traditional Windows Applications were (and still they are used somewhere) often programmed using a framework known as MCF (Microsoft Foundation Classes). In this framework code compiles directly to machine code, which is referred as low-level, and very near to machine code.

Testing Website using SSL on Localhost (IIS)

Image
Introduction SSL (Secure Socket Layer) is a cryptographic protocol developed by Netscape to provide communications security on internet. Cryptographic technology uses two keys to encrypt data, one for public (public key) and another for recipient (secret key). SSL enabled website communicates with web server by using security channel (secret key) that prevents tempering, eavesdropping (or simply say hacking). Mostly probably SSL is used on login section, payment system, online banking system etc that is very sensitive information for organization. When we enable the SSL for website URL will start with https:// instead of http://. Requirements To test this, you should have IIS installed. No need of extra software like Visual Studio or any other website development kit because only a single HTML file can be tested. Follow the steps to enable SSL on Windows Server 2008 R2 Operating System; another Operating System may have little difference. Step 1 Open IIS Manger and

Visual Studio 2011 Beta Feature 3

Image
Introduction Last Month Microsoft has announced the latest version of Visual Studio 2011 Beta and I have installed it on my PC and exploring it. In this post I will explore Popup Color Box and Opacity feature in Visual Studio 2011. Color selection is always been bit difficult for web developers. In VS 11, this brand new feature look cool. I just typed background-color or color while styling my web page and IDE displayed color selection pop-up. One more cool feature I found in this new IDE, that is 'Opacity' option in color pop-up. I remember the days when I frequently used opacity in Expression Blend and Windows Forms. And now, Microsoft enhanced ASP.NET and added this after long wait. In above image, when I slided opacity option, I got "rgba" (Red, Green, Blue, Opacity) = (36,17,17,0.48). And look at the output in browser, on backgound image you can see a <div> tag that has opaque color, awesome.

Visual Studio 2011 Beta Feature 2

Image
Introduction Note: This feature is actually shipped in Visual Studio 2010. I am using this lot in VS 11. Last Month Microsoft has announced the latest version of Visual Studio 2011 Beta and I have installed it on my PC and exploring it. In this post, I'm going to show the Group Selection feature of Visual Studio 2011. One of the awesome features that everyone going to love. Just press 'Alt' key and drag your mouse to select and start typing and you done. Cool. In above animated image you can see I have used this feature on aspx and cs page.

Visual Studio 2011 Beta Feature 1

Image
Introduction Last Month Microsoft has announced the latest version of Visual Studio 2011 Beta and I have installed it on my PC and exploring it, and listing the new features: Visual Studio 2011 provides a new development experience from architecture to coding and testing. As an ASP.NET guy, I always wanted to see (preview) the images in Solution Explorer and I am here. In above image, when I hovered the cursor on "GroupStudents.jpg", VS 11 displayed the preview of that image. Wow, I just love it.

Free e-book: Security and Privacy for Microsoft Office 2010 Users

Introduction Microsoft has just finished and provided a free e-book: Security and Privacy for Microsoft Office 2010 Users. If you want to explore all security features included in Office 2010 just explore this free e-book. Download

Popular posts from this blog

Migrating database from ASP.NET Identity to ASP.NET Core Identity

Customize User's Profile in ASP.NET Identity System

Lambda two tables and three tables inner join code samples