Blog
Blog posts on .NET, Azure, and more.
How to load WF workflows dynamically
July 01, 2014 by Anuraj
.Net .Net 4.0 ASP.Net MVC WF Windows Forms WPF
This is post is about loading and running Workflow foundation (WF) XAML files. It is a powerful technique which can be used to change Workflows on the fly, without re-compiling the application. All this functionalities can be achieved via single line of code.
Share on facebook - chrome extension
June 25, 2014 by Anuraj
CodeProject HTML5 Javascript
Long back I wrote a post about how to create a chrome extension. This post is about creating an extension which will help you to share current page URL on facebook. You can follow the same steps in the previous post except few changes in the background.js file. And facebook uses a URL like this to accept URL - http://www.facebook.com/sharer.php?u=[URL to share].
Returning Multiple Files from MVC Action
June 24, 2014 by Anuraj
.Net ASP.Net ASP.Net MVC CodeProject
Today I faced an issue with ASP.Net MVC, I have to download multiple files as a compressed (zip) file. Initially I thought of using third party component like DotNetZip. Later I used ZipArchive class, which comes with .Net Framework 4.5.
Generate your database entities using T4 templates
June 15, 2014 by Anuraj
.Net .Net 4.0 ASP.Net ASP.Net MVC EF Code First Entity Framework SQL Server WPF
This post is about generating database entities using T4 templates. This code is pretty straight forward, you are reading the app.config to get the connection string, connecting to db server using Sql Server SMO objects, enumerating tables and columns.
How to get text from Masked Text Box without the masked format
June 02, 2014 by Anuraj
.Net .Net 3.0 / 3.5 .Net 4.0 Windows Forms
Today I saw some SO question asked about how to get values from Masked Textbox without the masked format. For those who don’t know what is masked textbox - Uses a mask to distinguish between proper and improper user input.
Copyright © 2025 Anuraj. Blog content licensed under the Creative Commons CC BY 2.5 | Unless otherwise stated or granted, code samples licensed under the MIT license. This is a personal blog. The opinions expressed here represent my own and not those of my employer. Powered by Jekyll. Hosted with ❤ by GitHub