I have been running YSlow against my site and the Microsoft Ajax files are quite hefty:
http://ajax.microsoft.com/ajax/3.5/MicrosoftAjax.js = 99.3k
and
http://ajax.microsoft.com/ajax/mvc/MicrosoftMvcAjax.js = 136.7k
Is there likely to be a minified version of these files on the Microsoft CDN soon?
...
I want to call an external webservice. How do I do this in an asp.net mvc program? What options do I have. Does anyone have an example?
Thanks.
...
Hey all.
First of all some context:
I have a form, where I post back some objects that are automatically materialized into objects by MVCs built-in ModelBinder:
<input type="hidden" name="myobj[0].Id" />
<input type="text" name="myobj[0].Hours" />
<input type="hidden" name="myobj[1].Id" />
<input type="text" name="myobj[1].Hours" />
...
I have an MVC app that uses [Authorize] to protect the private bits. When I select the SignOut() URL it signs me out but if I hit the back button on my browser the it goes to the secure page and even lets me use the form. The action takes place and then it shows that I'm signed out. The problem is that it performs the secured action (ins...
The setup: (using Asp.Net MVC 2 RC, Entity Framework, SQL Server, VS2008)
My buddy and I are working on a project that will have different domains pointing at it. We want to get the domain (website) out of the Request and use that to drive data. This website data needs to be part of all the controllers.
Ex. Data for domain1.website...
In the site I am building I need to have datetime properties split into different combinations depending on the property. Examples:
Member view has date of birth property which needs to be shown on the view as seperate day/month/year dropdowns.
A credit card view has an expiry date property which needs to be shown as seperate month/ye...
Hello, I'm having a problem debugging my unit tests in ASP.Net MVC. Whenever I try and debug a selected test, the breakpoint I set turns in a hollow circle with a warning sign. When I hover over it I get the following error:
"The breakpoint will not currently be hit. No symbols have been loaded for this document."
I've searched on th...
Does anyone know of a good JavaScript based file manager that works with Amazon S3 Web Services. I need something like http://ckfinder.com, but that works directly with S3. Something like this would be great: http://s3fm.com
I will need both upload and download and it would be nice to have some kind of integration with Amazon S3's ACL s...
I have an application in asp.net mvc (C#), in which each user have different products sharing a common table separated by user id.
I need to implement SqlCacheDependency for each user's products.
The Scenario is: say there are two users (user1 and user2) and products assigned for them based on the user id.
I need to cache the product...
I'm able to post a complex object to an ASP.NET MVC controller with jQuery, as long as I modify the output of $.param() like this: "Column[0][Name]" -> "Column[0].Name"
However, this only works if the data is bound to an array-type property on the server (Columns1 in the example below). A collection type like IEnumerable or the EntityS...
Is there a way how I can check programmatically which user is used when my application accesses resources?
I have a production system which only our admin can access. Sometimes it is not clear what part of the system is wrong: Lets say when logging is not working. It is always possible that the web.config is wrong, but sometimes the dir...
I have a users table and a company table, Im using linqtosql classes
Whats the best way to get the id of the user thats currently logged on so that I can find the company he works for??
...
i asked this question which allowed me to capture user by using:
string userName = this.HttpContext.User.Identity.Name;
in my controller code.
One issue i have is that when testing in visual studio it shows up as an empty string. I want to track this field for my testing.
Is there anyway to have this work in the local ASP.net web...
So, I've successfully implemented my own MembershipProvider and that's working exactly as I intended it to.
I've decorated my controller actions with the [Authorize] attribute, and this is also work exactly as I want.
My question is, where should I put code that determines "how much" access a use has?
[Authorize] simply means that th...
i added windows authentication on my website to track user names. For IE it works fine and is seemsless but it prompts for windows login for user using firefox. any ideas?
...
I am using Visual Web Developer 2008 Express with ASP.NET MVC 1.0.
I would like to use MbUnit as a test framework so how would I set this up as a unit test project for an ASP.NET MVC web application?
...
I'm writting an ASP.NET MVC e-commerce app using NHibernate and I want the end-user to be able to control the ordering of Product Categories (not just have them appear alphebetically etc.).
Normally, I'd add an OrderIndex/Sort column (of type int) to the Category table, and property to the Category domain class. But the problem is in ha...
In an ASP.NET MVC application I am trying to submit multiple objects with a single form. I am able to get simple types to post back but am having issues with complex types. I feel like I have mimicked the example provided by Phil Haack in his blog post Model Binding To A List but with no luck. Even going so far as copying his code exactl...
I think this is a two-in-one question.. one, is: How do you filter valid file types in a FileDialog for a Html page?
Im using ASP.NET MVC and currently showing the textbux/browse button this way:
<%= Html.TextBox("Order.LoanInfo.FilePath", null, new { style = "width: 800px;", type = "file" })%>
and the second is : How could you do to...
HI I have a view that is created from the Controllder Method.
Now I am writing the HTML View Code on this Page.
Somehow I am not getting any html controls on this page.
When i type the below line, it says "The name html doesn't exist in the current context"
Ex: <%= Html.TextBox
Any Clue why i am not getting html tags.
Appreciate you...