Wednesday, September 26, 2012

IIS 7 default URL rewrite

IIS 7 provides Cookieless feature by default for ASP.NET applications while it may break MVC4 controller to certain extent like editing or creating record based on the model and database connection provided.

This article http://msdn.microsoft.com/en-us/library/aa479315.aspx explains what additional string means in the URL returned by IIS.

URL patterns in trouble would be like these:
http://server_URL/A(XXXXX)/...
http://server_URL/S(XXXXX)/...
http://server_URL/F(XXXXX)/...

To check IIS configurations, please refer to the following article:
http://technet.microsoft.com/en-us/library/cc754725(v=ws.10).aspx



Friday, September 14, 2012

How to recover MySQL Website Configuration Tool Icon in VS 2010

Visual Studio 2010 has been updated to SP1 but a weird symptom happened while I came back and revisited my favourite icon of MySQL Website Configuration Tool over the Solution Explorer. It was just missing!

After a series of upgrade and re-installation of MySQL .NET Connector package via URL:
http://dev.mysql.com/downloads/connector/net/

The icon is still missing and someone might think it would reappear on creating New Web Site template. However, that's not the case for me.

Before I reinstalled the whole thing for VS2010, I got my last hope to see if any miracle could happen.

The fix I have done is just as follows:



Click on the the solution in the Solution Explorer.




















In the Properties Window, click "Property Pages" icon.














A project properties template is shown up in the content window.









Try a couple of clicks on the items and then save it and close it.

See if that MySQL Website Configuration Tool icon reappear again under Solution Explorer toolbar?














Sunday, February 26, 2006

MS Atlas: The beginning of AJAX like technology on .NET platform

As a java programmer for the last several years, I've returned to the university for my research and study. The first job I've got here is the research project of Microsoft Atlas: an AJAX like technology. Perhaps it's better than AJAX as I saw the comments from the tech news.
Actually, you may not be surprised that it has many features resembling AJAX, however, implemented on .NET framework. It's all about Javascript: a client-side scripting technology. Some specialists may wonder if we should depend heavily on this kind of stuff while considering the security threat to the client-side technology.
The legal issue may arise on whether it is the responsibility of customers using client-side scripting technology while a fraud may occur during transactions. What we concern about Ms Atlas is its authenticity and confidentiality in the implementation of the E-Commerce Application. You may prefer security rather than richer client interactivity.
Atlas provides library in .NET framework to cooperate well with ASP.NET so as to provide a more interactive web user interface. At the moment, Altas is still in experimental stage so you may have to download new release to catch up with the progress in specific period of time.
What I could see is Google provides the best example of using AJAX to facilitate its webmail client interface. Also, Blogger here is another good example to demonstrate AJAX usage.