I developed an website in ASP.NET MVC 3.0 with NHibernate its deployed on server now my IT infra team informed that this site is taking upto 1.5 GB Memory (RAM) even when no user hits are their.
I asked them for server/IIS error to check wether any URL goes fail and also asked for an minimum benchmark of Memory for an ASP.NET MVC 3.0 website.
Can any one tell me what should i check for why this website is taking that much of memoey?
Or is it normal for ASP.NET MVC 3.0 WEbsite.
What is the minimum limit for such website.?
Edited:
IT Infra team gives me This File.can any one one tell me whats the problem
Related
I want to deploy ASP.NET Core Web API project on testing server with database. I have gone through heroku but it doesn't support Dot Net applications. Here are the configurations of my application:
ASP.NET Core 5 Web API
SQL Server 2019
Note: I need backend on server so I could test frontend application where ever I am.
I have used the following they each have positives and negatives. The first works the best for me.
winhost.com has cheap SQL + .NET Core hosting. No affiliation with them other than a happy customer for 10 years or so.
Azure, and other cloud hosting also works and is more performant for more money.
You could also setup your own server on an old PC (cheapest option)
You can go with Asphostportal, shared hosting option, they do support both Asp.net core and SQL server. They are pretty cheap, it is around $8/month.
I have completed my first web & Mobile project in Spring mvc 3.2.6 + Hibernate + Maven,Mysql & Rest Services.
Now i want to host the application.So that i can hit the webservice via mobile & host the web application.While browsing the google found the following link.
http://aws.amazon.com/free/
https://www.openshift.com/
http://azure.microsoft.com/en-in/pricing/
http://www.rackspace.com/cloud/private
https://www.heroku.com/pricing
https://appengine.google.com/start
So could you please anyone guide which one of the above server is good to host.Right now i am planning to use FREE version of the above server and in future i may use a paid version.Could anyone please which one is best?
I appreciate your answers & suggestion!!!Thank you.
I can say for Openshift. The best features it gave to you is:
No credit card required
No trial time
Doesn't need to sleep
Can scale, you can use up to 3 small gears on free plan, all loadbalanced by default
Many cartridges (like a pre-built package with servers) like MySQL, Mongo, RedisCloud, AMQPCloud, a bunch of others services using the Marketplace with a lot of free ones
Sleep when nobody is using, when someone hit a request the server goes on again , also auto scale up and down
Easy setup and Java ApplicationServers support (Tomcat, JBoss, Wildfly***)
Easy build customization via hooks
You can upgrade to bronze plan without paying a coin using the free gears you have, and you get alot of features
Runs on AWS Infrastructure
EDIT
Think of Gears as machines, it's just a fancy name they give to it, like Heroku named theirs Dynos
Price plans are located here with side by side comparison. You can check the marketplace offers here. Also they have some quick starters, all Java cartridges comes with Java 7 and Maven 3 installed by default. See here for more detailed tech.
They have a developers site with content to get started, help and documentation
** Small gears are machines with 1 CPU, 512Mb of RAM and 1GB disk
*** Wildfly on a free plan takes so much disk space, then is pratical impossible to use, but for paid plans is awesome
I've read from Scott Hanselman that a self-host console application of ASP Web API has 50% speed efficiency over a traditional ASP.NET MVC Web API project, since it doesn't have as much internal overhead.
My question is, what if I want to host a Web API in IIS? Can't use a Console Application, but still want to reap the benefits of not having the entire ASP.net framework overhead for only needing a simple web API?
It is 'theoretically' possible with OWIN. Some one asked the same question here.
When I first request pages from my ASP.NET MVC 3 website it appears to suffer a delay, but on subsequent requests it is instantaneous. I have no caching on pages so the second request is pulled from the server. Is there any way to preload the whole app?
There is a new Auto-Start feature in IIS 7.5 and ASP.NET 4.0 which allows you to load all application sin memory when the server starts thus avoiding the delay. For all previous versions you could schedule an automated request when the server starts in order to load the application in memory so that subsequent requests be faster.
How to: Precompile ASP.NET Web Site Projects
We are developing a Q&A site for a client with very limited budget. Site will be developed in ASP.NET MVC 3, and client will have an option to switch between SQL Express and SQL CE.
We would like to have some full text search functionality but don't know what would be the best for this scenario. So far we've seen SOLR and Lucene.NET, but the most likely site will be hosted on some shared hosting so we have to take that into account.
Any help would be greatly appreciated!
IMHO bin deployed Lucene.NET is the way to go. You just might need to modify it so that it stores the index in a folder you have write access.