Skip to main content

Posts

Showing posts from October, 2011

New solution explorer feature in visual studio11 developer preview

Microsoft Visual Studio11 Developer preview comes with bunch of new features and Solution explorer is also get some new features in it. There are few new icons added at top of solution explorer like below.



Create new window with copy of this Window Feature:
Now there is a one feature given with solution explorer you can create a another instance of solution explorer via clicking on last icon on solution explorer. Once you click the Last Icon for create copy. It will open a new solution explorer windows as below.



Properties in Solution Explorer:
Now only you can not only the see the properties of class but you can also see the methods property. Once you double-click class then it will show all methods available when you double-click method it will load the code in editor like in below.


Now once you click Page_load method you will see the page_load highlighted  in code editor



Previous next view in solution explorer:
You can move previous and next with solution explorer. For example you hav…

ASP.NET MVC 4.0 Mobile Template

Microsoft has released the much awaited ASP.NET MVC 4.0 developer preview and there are lots of features bundle with it. One of the greatest features is a mobile website. Yes, Now with ASP.NET MVC 4.0 you can create mobile site also. So let’s create a simple application and let’s see how it works.

To create mobile site first you need to click File->New Project->ASP.NET MVC 4.0 Web application. Like following.



Now once you click OK it will open a new another dialog like following where we have to choose the Mobile site.



As you can see in above post I have selected Razor view Once you click it will create a new application like following. As you can see similar structure as normal MVC Application application below.



This view are based on the standard jQuery Mobile. So this can be viewed in any tablet or mobile device. So if you have IPad and IPhone both then it will work on both. You need not to different application for both. see the browser first I have selected standard IPad s…

NuGet with multiple projects part-2

Before some days I have posted one post about how we can add NuGet package other than start project. In this post I am going to explain another way of doing that.

Earlier we have use ‘Manage NuGet Package’. Today I am going to use Package Manager Console for that. So let’s take same example which we have used in the earlier post. I have a sample application which have three projects.



As you can see in above post there are three projects.
MyApplication-Main Web application project MyApplication.Business- This project has business logic classes for application MyApplication.Data- This project has database access layer classes for application Now I want to add Entity Framework MyApplication.Data Project. As we have to use Package Manager Console. We need to open package manager console you have click Tools->Library Package Manager –>Package Manager Console. Once you click that it will open a console in visual studio like following

.


Now as I have to type following command in NuGe…

Beware of Plagiarism

I was checking my backlinks on sitemeter today and I have found a blog link which is directly copy my articles from my blog to his blog without giving credits to me. Following is a link for it.

http://learndotnetwithasad.blogspot.com/

This guy has copied my articles blindly event he has copied my new dotnetjalps.com domain post.  I have told this guys to remove the articles but he was not ready to remove this. So I asked Google(Blogger support) to remove content from this link. I have sent DMCA notice to blogger support via this link.

http://www.google.com/support/bin/request.py?contact_type=lr_dmca&product=blogger

After my notice Blogger support team has removed content but still this guy is copying my blog once again.
So please beware of this guy. He can copy your content too.

As a blogger we all are putting so much time to create content and other stuff. We all know that how difficult is to write something.  This blog is for community and you can copy code from here. But please …

A tribute to Steve Jobs- Chairman, Apple.. A real super hero

Today I heard a sad news for techie world Apple chairman Steve Jobs passed away yesterday night. He was a great men and we would always remember him as a super hero who has brought lots innovations like iPod,iPhone and iPod etc. which changed our lives.

As Apple said on his page. “Apples has lost a visionary and creative genius,and world has lost an amazing human being. Those of us who have been fortunate enough to know and work with Steve have lost a dear friend and inspiring mentor. Steve leaves behind a company that only he could  have built and his spirit will be forever in foundation of apple”.

You can see a great image of him at http://www.apple.com like below with all product as menu like iPhone, iPod,iTunes etc. what  a men he was. My sincere  condolences to his family and Apple family. We always remember him as great men!!.


“And we’ve all chosen to do this with our lives. So it better be damn good. It better be worth it.” –Steve Jobs

First Review of ASP. NET MVC 4.0 Developer Preview

After so much buzz Microsoft has launched some of the new tools at build conference and ASP.NET MVC 4.0 Developer preview is one of them.

How I can install ASP.NET MVC 4.0 Developer preview?
There are three ways to install ASP.NET MVC 4.0 Developer preview
You can download from following link-You can install ASP.NET MVC 4.0 Developer preview with web platform installer from following link-You can also install ASP.NET MVC 4.0 Developer Preview from following link-. If you don’t know about what is NuGet Package. Please visit following link of my blog. ASP.NET MVC 4.0 and Visual Studio 2010:
There are lots of people thinking that for asp.net mvc 4.0 developer preview, you need to install Visual Studio…

First Review of Visual Studio11 Developer Preview

Recently before some days at Build Conference on September 14,2011 Microsoft has announced release of “Visual Studio 2011 Developer Preview. You can download that from following link.

http://msdn.microsoft.com/en-us/vstudio/hh127353

I have downloaded the .NET framework 4.5 and Visual Studio11 Developer preview from the above link. First I have installed .NET Framework 4.5 like below.



Once after I have installed .NET Framework 4.5. I have installed Visual Studio 11 Developer preview like following.



After installing once you load Visual Studio 11 developer preview it will look like following. It is much similar look like Visual Studio 2010.


What’s new in Visual Studio11 Developer Preview:There are lots of new features in Visual Studio11 Developer preview let’s go through some of new features like following.
Create new project template:New project template is almost same except there are .NET Framework 4.5 selection is also available with other framework 3.5 and 4.0.


Solution Explorer…