I am trying to set up OpenID on an ASP.Net 2 website that I am making right now, and using DotNetOpenAuth. But it seems I've run into a brick wall that won't budge no matter how many things I try.
While trying to sign-in with Google I am getting "Web request to 'https://www.google.com/accounts/o8/ud' failed." as response.
The weird thi...
What's the best way of implementing xVal when using the Entity Framework? I've been using this approach but I'd like to know if there's a better way of doing it.
Also I'd like to know if there's a way of doing it without having to raise an exception.
...
There are a few pieces of information I must collect when a user registers on my site. What is an easy way to modify the default registration form to collect this extra information?
One idea I've read about is creating my own Profile provider, but I read that this can make the data quite hard to search and modify from an admin backen...
If I have a url generated like this
<%=Html.ActionLink("Link name", "MyAction", "MyController", new { SomeParameter = "value with spaces" })%>
is it possible to easily generate the output html like so
<a href="/MyController/MyAction/value+with+spaces">
instead of
<a href="/MyController/MyAction/value%20with%20spaces">
Or am I b...
I am trying to add authorization to my controllers and it's not working...
I am not sure where to look in my program, but adding the
[Authorize]
filter in my controller is not working, let alone anything like
[Authorize(Roles = "Manager")]
I have been able to get this working in the default application that is provided when crea...
Does output caching help boost the performance of asp.net mvc pages that just consist of html, css, images, and javascript?
Thanks!
...
I want to find the best setup for ASP.Net MVC projects to get the quickest code-build-run process in Visual Studio.
How can you set up your solution to achieve near zero second build times for small incremental changes?
If you have a test project, with dependencies on other projects in your solution, a build of the test project will ...
If you have a form and the only parts in this form that you need ajaxified is two connected Drop Down Lists, how would be the best asp.net-mvc-like way to solve this?
Once the first DropDownList changes value the other DropDownList should be populated depending on the item selected in the first list. This is a fairly common task I would...
i want the examples or samples of the MVC & .net so please give me link
...
I have a standard Edit scenario with GET and POST, the form has a Save button and a Lookup button that allows the user to lookup a postcode, which fills out the address and returns it in the form fields. The Lookup button posts back to the Edit controller method.
The following isn't real code but demonstrates my problem...
[AcceptVerbs...
Dear All
Its time to rebuild my portfolio site, and I am thinking of either using Silverlight (still have to learn the basics but would be fun) or use MVC.NET.
I would like to use Silverlight since its something I am really interested in learning, and building up a small portfolio site should not be an out of this world task. However ...
I’m trying to come up with the best solution on how to set up my site.
I'm using asp.net MVC which I'm fairly new at.
The site consists of different areas which have their own stylesheets and images suited to the area they belong.
The layout of each of theses areas is the same, so I would like each to inherit layout from the same Mast...
Hi,
I've got two (so far) different types of routes in my ASP.NET MVC app, one is: {controller}/{action}/{id} and the other {controller}/{action}/{title}
Currently I need to define the routes like this:
routes.MapRoute (
"Default_Title_Slug", // Route name
"product/...
I am trying to use fluent nhibernate in a MVC project... i am very new to nhibernate and fluent... It seems the entities should have properties that are virtual and the set should be private for IDs... i use vb language...so tried using overrideable...it gives an error...
Public Overridable Property DesignId() As Integer
Get
En...
I've not spent much time in the last 3-4 years doing much browser development. So I'm a little behind the times in this area. I'm curious if ASP.NET MVC makes developing complex browser based screens/forms any easier? In the past, the thing I hated most about developer browser apps was hard tedious it was creating screens/forms.
...
I am creating an n-tier wep app with asp.net mvc which calls a stateless service layer.
so, in addition to the "model" that the service layer handles with an ORM, I have a DTO for each model class which maps to a specific controller. Then for each DTO class I have a UI model class, which i populate with appropriate data from the DTO th...
How can I render a user control in asp.net mvc?
is my only option to use the mvctoolkit?
I am using mvc 2.0 now.
...
My user object has the property: IsAdministrator
Now I want to inject HTML on every page, so in my master page, only if the user is an administrator.
What is the best way to do this?
I was thinking of creating a user control, and then calling RenderPartial.
But I need to access the Request object to see if the user is authenticated, ...
Working for months now in ASP.NET MVC I am starting to walk around in circles - I am constantly bumping into Edit views that are the same as Create views. Should I continue just ditching the Edit views and try harder to make one View for both Create and Edit? Because essentially they are the same, they do the same validation the only dif...
I was curious how in the typical ASP.NET MVC mentality one could build a platform that others could develop plugins for. I mean, how would those plugins look like ? Like exiting user controls for WebForms, encapsulating all layers in themselves, or three different files representing the model the view and the controller. I should develop...