Session: Web Development using ASP.NET MVC

Yesterday, on 26th March, I was invited to talk on Web Development using ASP.NET MVC organized by Microsoft Pakistan in collaboration with Higher Education Commission (HEC). I am really glad to see the video conference setup by HEC. The session was broadcasted LIVE to around 10 Universities across Pakistan connecting hundreds of students with live Q&A session. Universities connected via Video Con facility With folks who attended session in-person at HEC I really enjoyed connecting with many students especially Universities in other than major cities. You can find the slides below I used as reference: Web Development using ASP.NET MVC Read more…

Restoring NuGet Packages for External Dependencies

NuGet is an excellent visual studio extension and answer to dependency management in .NET. It makes super easy to manage third party libraries. If are working on .NET and have not noticed NuGet, you are missing something very useful, read about NuGet here. If you have been working on Java platform then this is something similar to Maven dependency management  In early days… developers used to commit third party libraries (.dlls) into source control, those who don’t tend to get part of GAC. So we have seen developers maintaining folders like Lib, External Libraries etc. as part of repositories or Read more…

MVP Summit 2013 Summary and Take Away

Hello folks! I am at the Seattle Airport (SEATEC) leaving for home via Dubai waiting for boarding to start. So I thought to utilize the time and share my summit experience. As I mentioned in a blog post earlier, this was my third time attending the MVP Summit and yet it’s always good to attend the summit, interact with product teams at Microsoft and take something out of it. But I am not going to share about usual happenings occurred at Summit instead I would like to share some technology updates and good tools I came across at MVP Summit. Read more…

Attending Microsoft MVP Summit 2013

Hi Folks,Just excited to share that I will be attending Microsoft MVP Summit 2013 next week in Bellevue and Redmond. The summit is a multi-day event and comprises of technical deep dive sessions with product teams along with variety of networking opportunities.  This would be my third time attending the MVP Summit, previously attended in 2010 and 2011. Like always, I will get a chance to meet Visual C#, ASP.NET and Visual Studio team, so I would be happy to take your any respective product specific feedback or feature request that you would like me to discuss with product team. Read more…

ASP.NET MVC 4 Redirects Incorrect Login URL /login.aspx

When working with ASP.NET MVC and WebMatrix.WebData.SimpleMembershipProvider, I faced an issue of ASP.NET redirecting to incorrect login page i.e. “/login.aspx” in case of unauthorized access. As a result, got server error something like below snapshot Solution:  The resolution is simple and somewhat intuitive. Somebody needs to tell ASP.NET my LoginUrl. There are two workaround for that which I have tried and worked for me. Add a LoginUrl key in appSettings in web.config OR Set the form loginUrl in   in web.config Another way around I found on stackoverflow is to set FormAuthenticationSettings but I didn’t give it a shot. Finally, Read more…

Web Development Goodies in Visual Studio 2012

Visual Studio 2012 and it’s extensions ecosystem brings excited enhancements for web developers. I am glad to see that web platform team is giving attention to open source, adapting industry trend faster than ever and making developer life easy and standard-complaint. In this post I am going to share some of web development goodies that ships with Visual Studio 2012 (including Visual Studio Update 1 along with ASP.NET and Web Tools 2012.2 RC update) as well as some popular and must have extensions.   HTML5/CSS3/JavaScript Editor Enhancement Support:   The Visual Studio 2012 IDE includes great tooling update for supporting Read more…

Beginning Web Development using ASP.NET MVC

Yesterday I had an opportunity to talk on web development using ASP.NET MVC for students at AIOU. I wanted to make sure that students have good concept of “Web” and the HTTP transactions. Plus in the start, it takes a little time for beginners to understand the Model-View-Controller (MVC) pattern and the convention over configuration style in ASP.NET MVC. So I started the session with web fundamentals and moving to demonstrating ASP.NET MVC project. For those asking for presentation slides, which I think are not very important here but may be helpful, are shared on slideshare. Web development using ASP.NET Read more…

2012 – A Year of CHANGE

What a remarkable year! I call it a year of change for me. Honestly for me 2012 was a testament of my change agility. So much happened this year in my personal and professional life that is why I consider it as a  year of new beginning, year of decisions, year of love, year of excitement, year of responsibility, and a year of learning. With the help of this post, I tell you how! I would like to share some of the major highlights of this year with you (reader). Hope you had a splendid time in 2012 as well. Read more…

Programming in HTML5 with JS and CSS3 Specialist

I am glad to share that yesterday, on last day of year 2012, I have passed the exam “70-480 Programming in HTML5 with JavaScript and CSS3” and therefore earned credential of Programming in HTML5 with JavaScript and CSS3 Specialist. Why this certification? I think over the time web platform has evolve remarkably plus HTML/JavaScript are no more limited to web browsers. HTML5 is now not only used to developed modern responsive web apps but they are also used to developed apps on other platform such as mobile apps or windows store apps, PhoneGap is one great example. Similarly, JavaScript is Read more…

Beginning Android 4 Book Review

Book Title: Beginning Android 4 Application DevelopmentAuthor: Wei-Meng LeePublisher: Wrox Mobile application development is all around these days and Android is one of the famous platform for smartphones. This title introduce reader to android development and it’s for best fit for beginners.  Just to share a bit background here , I have been working on .NET/C# platform for almost 5+ years and so I was new to android/java/eclipse. This book serves as a great boost to newbie by providing step by step, clear, practical examples and in full color screenshots. So the flow and example helps a lot in contrast Read more…