Redirect from ASP NET MVC Controller does not change the URL in browser

In ASP .NET MVC, I’m attempting to perform a redirect from a Controller Action method, which calls a separate Action method in the same controller. This works fine and can be traced in the chrome tools network tab.

I want to force the redirect to change the URL in the users browser and actually redirect to another page. However in google chrome network tab, I can see the request is going through but does not change the displayed URL.

When tracing the requests in google chrome, the first time I load the page the request is shown as blue, but my subsequent requests show up as a grey/normal colored row. I’m not sure though what property of the request I need to change to make it force a URL change in the browser and show up as blue in the chrome dev tools network tab, see below:

enter image description here

I’ve tried the redirect with the following methods. All of these examples redirected to the correct Action in my controller, and passed through the correct values in the model. However, they do not change the URL.

Using RedirectToRoute

return RedirectToRoute("SuccessRedirect3DS", returnModel);

Using RedirectToRoutePermanent

return RedirectToRoutePermanent("SuccessRedirect3DS", returnModel);

Using RedirectToAction (also tried RedirectToActionPermanent)

return RedirectToAction("SuccessRedirect3DS", "Home", returnModel);

Is it possible to change the URL with any of these methods, or do I need to do this in a slightly different way? The controller method I am calling is a GET method which gets the supplied values from the URL.

public async Task SuccessRedirect3DS([FromUri] Model stuff) {
    // We get here and the model values are OK, but the URL/page in browser did not change!

Is it possible to get client IP/hostname on remote server inside browser?

I am looking for a chrome extension/any solution which can tell me the windows logged in username.


I have a website running on intranet, which is accessible on a specific remote server. Every workstations on the LAN who wants to access the website needs to remotely login to the remote server and then open chrome browser to access the website. Our ultimate goal is to identify the workstation because the website need to behave differently for different workstations based on their permissions.

Chrome network Timing , how to improve Content Download

I was checking for XHR calls timing in Chrome DevTools to improve slow requests but I found out that 99% of the response time is wasted on content download even though the content size is less than 5 KB and the application is running on localhost(Working on my local machine so no Network issues).

But when replaying the call using Replay XHR menu, the Content download period drops dramatically from 2.13 s to 2.11 ms(as shown in the screen shots below). Data is not cached at browser level.

Example of Call Timing

Same Example Replayed

Can someone explain me why the content download timing is slow and how to improve it.

The Application is an ASP.NET mvc 5 solution combined with angularJS.

The Web Server Details:
– Windows Server 2012 R2
– IIS 8

Thank you in advance for your support!

Writing chrome extension in C#?

Today I started looking at the Chrome extensions the first time ever, I have a very silly questions, I am sure the answer is NO to this as per google search but I just wanted to make sure from the community here.

  1. Is it possible to use C# to write code instead of javascript?
  2. Is it possible to use Partial Views (ASP.NET MVC) in chrome extension as it renders HTML?
  3. I found this in VS Marketplace Is there any other templates which have bootstrap etc


Can’t see form data but app objects get the data

I can’t see POST request data after I click the “Savess” button. The request should appear like “Create”. The form sends data to the “Create” ActionResult
Chorme enviroment
But the data from the form it’s transmitted (or binded) into its corresponding object attributes.
Inside Visual Studio

Why is chrome not showing that request?