Asp.Net MVC 4 Hosting issue
Recently i was trying to host Asp.net MVC4 web application ,and i faced some difficulties .so i m writing here what were the things to care , while hosting Asp.net MVC4 application -
Step 1 : Make sure Asp.net4 registered with IIS
first make sure that your iis is having application pool for asp.net 4 , if not then you can create one otherwise skip this step .please change the version according to recent framework. from command line write following command -
For 32bit(X86) windows :
%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -ir
For 64bit (X64) windows :
remove the default navigation url from the web.config because default url in asp.net mvc existed in routeconfig.cs .
routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); routes.MapRoute( name: "Default", url: "{controller}/{action}/{id}", defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional } );
Step 3 : Add following code in Web.config -
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
</system.webServer>
and you are done , publish the application ... i hope it will run ;) :) .
Thеy сan аlѕo offеr a decorаtivе elemеnt to thе
ReplyDeleteгoom. It аlѕo incrеasеѕ ouг eхpensеs.
Тhе blaԁeѕ of the fan can also offer а classy or sophiѕticаted look, аs thеy сome in manу different finisheѕ anԁ dеsignѕ as well.
Аlso viѕit my site - outdoor ceiling fans with lights and Remote
Excellent post. I was checking continuously this blog
ReplyDeleteand I am impressed! Very helpful information specially the last part :
) I care for such info a lot. I was seeking this certain info for a very long time.
Thank you and best of luck.
Also visit my website what is toe nail fungus
I think this is one of the such a lot significant information for me.
ReplyDeleteAnd i am satisfied reading your article. However wanna commentary on few general issues, The web site taste is ideal, the articles is in reality
excellent : D. Excellent activity, cheers
Here is my web-site ... caliplus reviews
Hey There. I found your blog using msn. This is a really
ReplyDeletewell written article. I will be sure to bookmark
it and come back to read more of your useful information.
Thanks for the post. I'll certainly comeback.
Also visit my webpage http://buycapsiplex.ukherbal.net
Hello would you mind sharing which blog platform
ReplyDeleteyou're working with? I'm looking to start my own blog
soon but I'm having a difficult time making a decision between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your layout seems different then most blogs and I'm looking for something completely unique.
P.S Sorry for getting off-topic but I had to ask!
Here is my webpage; meratol testimonials
Hello Dear, are you actually visiting this site on a regular basis, if so
ReplyDeleteafterward you will absolutely get nice knowledge.
my site - http://www.sawangburi.com
Greetings! Very helpful advice within this post!
ReplyDeleteIt's the little changes which will make the greatest changes. Many thanks for sharing!
Look at my weblog - nail fingus
I could not resist commenting. Perfectly written!
ReplyDeleteFeel free to visit my homepage: http://www.followhim.co.nz
Hi there! I could have sworn I've visited this blog before but after browsing through a few of the posts I realized it's new to
ReplyDeleteme. Nonetheless, I'm certainly happy I found it and I'll be book-marking it and checking back often!
My blog - buy alteril
Wonderful blog! I truly love how it’s uncomplicated on my eyes, and the detail is well written about ASP.NET MVC Hosting. You post here details of this hosting so many thanks. I am wondering how I can be notified whenever a new post has been made. Keep up the wonderful piece of work, I read a few blog posts on this site, and I believe that your website is very interesting. I am hosting my site from myasp.net. It gives really good services. If You can get any other idea about hosting, then visit here.
ReplyDeleteThis is terribly helpful for an entry. I just put this article in your favorites for future reference. Keep sharing this kind of wonderful message. Thank you for sharing. It is a very delicate subject.
ReplyDeleteDedicatedHosting4u.com