Skip to main content

Questions tagged [mvc]

Model–view–controller (MVC) is a software design pattern commonly used for developing user interfaces that divides the related program logic into three interconnected elements: the model, the internal representations of information; the view, the interface that presents information to and accepts it from the user; the controller, the software linking the two.

0 votes
0 answers
92 views

How to protect connection string in an MVC application

I am currently using appsetting.json to read connection string and credentials with an MVC application. I read something about this solution and it seems wrong. How can I solve the problem? Where ...
Sebastiano's user avatar
2 votes
1 answer
4k views

TCP Initial Handshake Incomplete (ACK Missing)

I am irritated about the following scenario: I am running a MVC application on an IIS 10 Webserver. While calling the URI, it takes about 10 seconds until the application starts to get called (IDLE ...
kword's user avatar
  • 31
0 votes
2 answers
2k views

Make web application accessible everywhere

We have developed a web application in ASP.net MVC for our client, which is host on their localhost, lets say, 18.18.18.100/portal. It is a private IP address. But my client wants to make this ...
Doosu's user avatar
  • 11
0 votes
2 answers
548 views

generated .css file in nginx

I developed on an apache, now I need to deploy on ngix and I ran into some difficulties. Because inline-styles are disabled in my project (with cakephp) and there are some colours defined in the ...
Andreas Witte's user avatar
0 votes
1 answer
770 views

IIS 8.5 on Windows Server 2012 R2 cannot handle more than one concurrent connection

I am in a bizzare situation. Here's my scenario: I have been working on an MVC5 Web API2 Project hosted on Rackspace hosting. According to the diagram I've added, the API project is AppOne. We have ...
Mushfiq's user avatar
  • 101
1 vote
1 answer
4k views

SecureCookies, HTTPOnly cookies, .Net, and SSL offloading

So I've been looking into implementing HttpOnly and SecureCookies in my web environment. I have an F5 as the load balancer and a couple of C# web applications hosted in iis 7.5 for the website. The ....
user1079703's user avatar
2 votes
0 answers
607 views

Spring Shiro is not authenticating login screen in SpringMVC web application

I am trying to use Apache Shiro framework 1.2.4 for security requirements of our Spring MVC web application. I have included configuration details in the application context, pom.xml and web.xml ...
amazonws3 's user avatar
5 votes
1 answer
2k views

IIS - CPU Usage Gradually Increases Over Several Days Until 100% [closed]

The picture explains it all. We have had a problem with an IIS MVC 5 website hosted on Microsoft Azure over the last several months. The site appears to continually eat up CPU over a few days until it ...
Bill Christenson's user avatar
3 votes
1 answer
7k views

Deploying MVC 5.1 app on web server

I made ASP.NET application with MVC 5.1 technology and tried to deploy it on Winhost server. When I go to my web site, I get the following error message. Could not load file or assembly 'System.Web....
orthodox4ever's user avatar
2 votes
1 answer
2k views

IIS7 Serving Font Files as 404s

I'm having trouble getting font files to be returned by my IIS. The URLs are correct, the mime-types are set correctly, but I'm still getting 404's. Other static files like JS, CSS, LESS are all ...
Chris Peterson's user avatar
1 vote
1 answer
7k views

Can't access my MVC web application hosted on IIS 7.5 through Internet

I'm hosting my MVC web application on IIS 7.5, and do the following: Add Application Pool and change Identity to NetworkService; Edit web application folder permissions to everyone; Files in C:\...
user avatar
0 votes
1 answer
3k views

ASP.NET4.0 MVC4 IIS7.5 Error 403.14 I'm Literally Pulling Out My Hair

I want to get away from developing in PHP but doing that is proving to be a massive headache. I am trying to set up a website with MVC 4, ASP.NET 4.0, on Win7 Professional (64-bit). The website is ...
Chris Peterson's user avatar
0 votes
1 answer
625 views

Restricting access to one controller of an MVC app with Nginx

I have an MVC app where one controller needs to be accessible only from several ips(this controller is an oauth token callback trap - for google/fb api tokens). My conf looks like this: geo $oauth { ...
Sergey Eremin's user avatar
6 votes
3 answers
14k views

Intermittent high CPU (100%) on production webserver

X-Post from StackOverflow: https://stackoverflow.com/questions/9465123/intermittent-high-cpu-100-on-production-webserver We have a web cluster with 3 web-servers, each with 24 cores & 24GB mem. ...
Dave's user avatar
  • 161
0 votes
1 answer
810 views

MVC3 Wildcard scriptmaps in IIS6

I'm moving an asp.net MVC3 appliaction from its test box to the live server. I've noticed that although its been working on the test box Windows Server 2003 Web Edition SP2 there is no wildcard ...
Andiih's user avatar
  • 175
1 vote
2 answers
23k views

Getting 404 error on MVC web-site

I have an IIS7.5 web-site, on Windows Server 2008, with an ASP.NET MVC2 web-site deployed to it. The website was built in Visual Studio 2008, targeting .NET 3.5, and IIS 5.1 has been successfully ...
RB.'s user avatar
  • 392
0 votes
2 answers
3k views

How to publish an ASP.NET MVC application to a free host

I'm using a free web host (0000free) which supports ASP.NET MVC, but it uses Mono. This is the first time I deploy an MVC application, so I'm a little confused as to where I need to deploy it. I have ...
Kiril's user avatar
  • 189
1 vote
1 answer
341 views

IIS6 - Switching from .Net 2 to .Net 4 produces error “Declined to show web page”

I have a simple website (http://localhost:8889) on Windows Server 2003 and IIS6. There is nothing in this website except a page called default.htm containing a simple text string. The page is served ...
tzerb's user avatar
  • 181
1 vote
1 answer
3k views

Deploying ASP.NET MVC to Windows Server 2003

I have a problem with an MVC 2 website on Windows Server 2003 running IIS 6. It is externally hosted, but we have a 2003 server internally for testing. The internal server runs the website fine, the ...
pete the pagan-gerbil's user avatar
4 votes
2 answers
9k views

Configuring ASP.NET MVC2 on Apache 2.2 using mod_aspdotnet

Trying to get an Microsoft MVC2 website to run on Apache 2.2 web server (running on Windows) that utilizes the mod_aspdotnet module. Have several ASP.NET Virtual Hosts running, trying to add another. ...
flascuba's user avatar
2 votes
1 answer
695 views

Does installing ASP.NET MVC on Windows 2003 require a server reboot?

Does installing ASP.NET MVC require a server reboot? I've set up quite a few ASP.NET MVC sites on production servers in my time, but today, I'm deploying to a server without MVC installed for the ...
user avatar
0 votes
1 answer
768 views

App in virtual directory but /Folder points to www.app.com/

I am looking to create a virtual directory to host a demo of an application. the app is written in asp.net mvc and the images/css etc point to /Content/images /Content/main.css etc. when the app is ...
user avatar
10 votes
2 answers
15k views

How do I make all URLs run through a single PHP file?

How do MVC systems where the urls are in these forms force all the requests through a single index.php file? http://www.example.com/foo/bar/baz http://www.example.com/goo/car/caz/SEO-friendly-name-of-...
jmucchiello's user avatar