Krunal Mevada

Because there’s always more to learn
Tip: Get list of country names



Attachment: Sample Project


Posted: Aug 06 2010, 05:28 AM by krunalm | with no comments
Filed under: , , ,
VS 2010 Beta 2 Ultimate, now for all ;)


waiting is over,  vs 2010 beta2 ultimate is available now. go grab it.

you can see more info here, for web setup look here, and for direct ISO download visit this link.

enjoy new world of .net fw & vs.




Posted: Oct 21 2009, 02:29 PM by krunalm | with 1 comment(s)
Filed under: ,
Checkout new mvc forum by telerik

Checkout this new ASP.NET MVC Forum sample application by telerik.

Source code is also available.


Demo & Source Code





Posted: Jan 31 2009, 07:25 AM by krunalm | with no comments
Filed under: , ,
Telerik Community Edition Controls
Telerik is popular for its RAD Controls for Microsoft .NET. Now, this year telerik has announced some – wonderful free controls for the .NET Community. You can find the official site page over here.

Here are those…

1)    Sitefinity Community Edition (CMS)

       Sitefinity Project Manager.

       Sitefinity Project Manager

       And the admin, page creation  

       Sitefinity Page Creation

2)    Telerik RAD Form Decorator Control

       First look at demo,

       Form Decorator

       Another good example, you must try it.

       Form Decorator

3)    Telerik OpenAccess ORM

       A good, well documented quick start guide to understand OpenAccess ORM with examples for .Net 2.0 & .Net 3.5

       ORM Quickstart

       Also, it’s a visual studio add-in and a wizard to generate the object using reverse mapping.

       Or you can create classes and the do forward mapping to generate the database.

       Snapshot for actual OpenAccess ORM (Everything using wizards)

       OpenAccess ORM

       OpenAccess ORM

4)    RAD Editor for MOSS

       A very good handy Editor for the Microsoft Office Sharepoint Server and for WSS 3.0

       Telerik MOSS Editor

Finally, try it once. You’ll enjoy it.



Awesome ASP.NET Chart Control


The latest control added by the Microsoft in .net is NEW ASP.NET Chart control.

This control is required in the .Net family and Microsoft has fulfilled that.  It can be used with .net 3.5 sp1 and it is free.

The main thing is it generates the “image tag” - simple html tag, which is supported by every browser and displays great charts. Also performance is good.

I have developed one sample application to use it for my curiosity. You can download it from here. I have used northwind database, product table.

The chart looks like this:

Cool ASP.NET Chart Control


I think now, Microsoft has made the charting very simple and easy of cost.

You can download the Chart control, samples, a great documentation and a VS2008 Tool Support.


Happy Coding!


Posted: Dec 07 2008, 08:04 AM by krunalm | with no comments
Filed under: ,
New Cool Links


In busy november, i got some cool links to visit atleast once.

1) .Net cheat sheets and common fundamentals

2)  A nice article on converting a web page to mobile web page.

3) A new .net Chart Control :) 




Posted: Nov 28 2008, 01:47 AM by krunalm | with no comments
Filed under: , ,
My First MVC Application

Everywhere, in weblogs, i read about the MVC Beta.

After reading decided to build a small application and tried to develop sample tasklist mvc application by following the First Tutorial.

I enjoyed it and getting working on VS 2008 & its development web server.

Then, i had published it to my iis 5.1 (i am using windows xp sp2 and vs2008).

And then the things were goes wrong. Got stuck in "page not found error".

I look around on the net for this, and got one solution for this.

For that i have to change the Global.asax & little configuration in IIS

Global.asax Change:
                "Default",                                              // Route name
                "{controller}.mvc/{action}/{id}",                           // URL with parameters
                new { controller = "Home", action = "Index", id = "" }  // Parameter defaults

IIS Config Change:
Map the extension (.mvc) in IIS to the pipeline

It will looks like this : http://localhost/TaskList/Home.mvc


Finally, my first mvc application worked in windows xp. :)

You can download the code here.


Posted: Oct 23 2008, 03:06 AM by krunalm | with 2 comment(s)
Filed under: , ,
Extract Zip File In ASP.NET

Extract your zip file in using OpenSource Zip Library in (SharpZipLib)

.NET Classes used :

  • using System;
  • using System.IO;
  • using ICSharpCode.SharpZipLib.Zip;

  • I have used open source zip library. Which you have to download from

    Put ICSharpCode.SharpZipLib.DLL into your bin folder of application.

    Use Following function to extract zip file. Assign your zipfilename in ZipFileName variable.

    You Need Folder Rights to Create File Programmatically.

    string ZipFileName = "";


               if (!File.Exists(Server.MapPath(ZipFileName)))
                   lstProcess.Items.Add("File Does Not Exists.");

               using (ZipInputStream s = new ZipInputStream(File.OpenRead(Server.MapPath(ZipFileName))))

                   ZipEntry theEntry;
                   while ((theEntry = s.GetNextEntry()) != null)
                      string directoryName = Path.GetDirectoryName(theEntry.Name);
                       string fileName = Path.GetFileName(theEntry.Name);

                       // create directory
                       if (directoryName.Length > 0)

                       if (fileName != String.Empty)
                           using (FileStream streamWriter = File.Create(Server.MapPath(theEntry.Name)))

                               int size = 2048;
                               byte[] data = new byte[2048];
                               while (true)
                                   size = s.Read(data, 0, data.Length);
                                   if (size > 0)
                                       streamWriter.Write(data, 0, size);
           catch (Exception ex)
               //Display Error
               //Update Status

    Posted: Oct 09 2008, 07:37 AM by krunalm | with 2 comment(s)
    Filed under: , ,
    Download Virtual TechDays (17,18,19 sep '08) recorded sessions and presentations

    “Virtual TechDays” held on September 17-19, 2008

    Recorded sessions and presentations are now available.


    Enjoy !!

    Posted: Oct 06 2008, 04:17 AM by krunalm | with no comments
    Filed under:
    ASP.NET 3.5 FREE Hosting....!!

    Good morning,

    Want to test your web applications on live with free hosting.

    Try this one : Link

    It is supporting ASP.NET 3.5 and SQL Server 2005.


    Posted: Oct 04 2008, 01:23 AM by krunalm | with 2 comment(s)
    Filed under: , ,
    More Posts Next page »