|
More site info...
ASP.NET MVC | Forum profile
|
|
Forum profile page for ASP.NET MVC on http://www.asp.net.
This report page is the aggregated overview from a single forum: ASP.NET MVC, located on the Message Board at http://www.asp.net.
This forum profile page summarizes the general forum statistics such as: Users Activity, Forum Activity, and Top Authors, which are reported in either a table or graph below for a given reporting time period.
Additional forum profile information for "ASP.NET MVC" on the Message Board at http://www.asp.net is also shown in the following ways:
1) Latest Active Threads
2) Hot Threads for Last Week
Warning: These statistics are generated using 'best efforts' and can experience delays and reporting errors at times. Please note that such statistics do not constitute a forum's popularity and/or exact posting volumes at any given reporting period.
|
|
|
|
|
Posting activity on ASP.NET MVC:
|
|
Week
|
Month
|
3 Months
|
|
Threads:
|
132
|
280
|
937
|
|
Post:
|
321
|
679
|
2,314
|
|
|
ASP.NET MVC Posting activity graph:
|
Top authors during last week:
user's latest post:
errer in creating view content list
Published (2009-12-21 03:31:48)
Didn't you try to uninstal "Microsoft ASP.NET MVC" and "Microsoft ASP.NET Visual Studio Tools" from your PC and reinstall them . for more info about what kinds of file include in ASP.NET MVC package take a look at Phil 's bog post . hope this helps.
user's latest post:
Problem with deploying ASP.NET...
Published (2009-12-20 21:20:21)
http://www.asp.net/learn/mvc/tutorial-08-cs.aspx http://www.asp.net/learn/mvc/tutorial-08-vb.aspx "IIS 7.0 ( integrated mode ) – No special configuration necessary to use ASP.NET Routing." @ asmaster with iis 7.0, are you entering faq.aspx ...
user's latest post:
Asp.net Url Redirect
Published (2009-12-21 02:50:50)
satalaj: you can write your own HttpModule where on Begin request you can trap all urls coming to your application. From url last index of "/" you will get parameter and from here you can redirect the user to appropriate page. With asp.net mvc you don't have to create a custom HttpModule, this behavior can be achieved with custom routing.
user's latest post:
Error Handling in global.asax
Published (2009-12-18 18:44:00)
Why don't you want to use <customErrors mode="RemoteOnly" defaultRedirect="~/Error"> <error statusCode="403" redirect="~/Error" /> <error statusCode="404" redirect="~/Error" /> </customErrors>
user's latest post:
Using MVC concept in...
Published (2009-12-21 01:24:51)
Hi, This is my 4th question here, sorry for that... I'm just very excited about MVC :) I LOVE the new concept of controlling the HTML, GET/POST requests etc. But what I don't like is that to move to MVC from ASP.NET WebForms, I'll have to change all URLs, CSSs/images/scripts locations etc, move code behind to different files and so forth. My question is, can I use the View/Controller model in classic ASP.NET ? Maybe inherit the...
user's latest post:
Creating new attribute
Published (2009-12-20 20:11:53)
The attribute as you have written it will never work, even outside of MVC. Remember that property setters on the attribute are called after the constructor, but since you're doing your check within the constructor the values you're attempting to read will always be uninitialized. The best thing to do would be to subclass our AuthorizeAttribute and to override the AuthorizeCore() method to perform whatever logic you need.
user's latest post:
ListBoxFor not working for me
Published (2009-12-21 03:31:19)
Hi, It seems that you are trying to convert a object with the type 'System.String' to the type 'Blah.Type' and the conversion can't be understood by the MVC Framework. Because I don't know any code about the 'update' or 'insert' operation, so I just assum that you can try to get the selected value from the listbox and then use them to update the...
user's latest post:
Image from byte[] in ASP.NET MVC
Published (2009-12-19 23:48:00)
Please go by what Mikedonetting suggested. You can use FileContentResults directly and don't need. Following works in ASP.NET MVC 2.0. If you are using ASP.NET MVC 1.0 I am not sure and you can refer to above blog entry. Here is one controller method to do this: public FileContentResult Photo(string userId) { ...
user's latest post:
ASP.NET MVC extra spaces being...
Published (2009-12-19 13:03:00)
Hello, In my database there is Name - nchar(10) - Primary Key Title - nchar(20) Content - text The problem that occurs is that when I add a new record it adds extra spaces until there are 10 letters Example: I type in for Name...
user's latest post:
MVC Problems Galore
Published (2009-12-17 17:34:00)
Hi Brian For LogOut, it seems that the AccountController's action method is named LogOff, so you either need to change the name of the action method, or update the Html.ActionLink references. The default AccountController uses the standard ASP membership provider. If you have a custom provider you should be able to remove a lot of the code from the AccountController. Jacques
|
|
|
|
Latest active threads on ASP.NET MVC::
Started 4 days, 23 hours ago (2009-12-19 09:29:00)
by Augi
You can use action filters . Just create own authorization filter or override OnAuthorization method on your base Controller class.
Started 6 days, 20 hours ago (2009-12-17 12:42:00)
by rezaiy.ali
Started 3 days, 5 hours ago (2009-12-21 03:31:19)
by KeFang Chen - MSFT
Hi,
It seems that you are trying to convert a object with the type 'System.String' to the type 'Blah.Type' and the conversion can't be understood by the MVC Framework.
Because I don't know any code about the 'update' or 'insert' operation, so I just assum that you can try to get the selected value from the listbox and then use them to update the database.
If you can post some code ...
Started 3 days, 7 hours ago (2009-12-21 01:57:50)
by ali62b
Take a look at this link . hope this helps.
Started 4 days, 5 hours ago (2009-12-20 03:32:00)
by ali62b
Are you sure when you go to faq.aspx using VWD you dont get error ? in ASP.NET MVC there is no more pages if this is the case.
Started 3 days, 7 hours ago (2009-12-21 01:46:51)
by ali62b
take a look at this link . hope this helps.
Started 4 days, 5 hours ago (2009-12-20 03:28:00)
by ali62b
quentins: Is there a way to do this so it can be used in a Label or a TextBox (I want to show the same data as would be in a DropDown for the SELECTED ITEM) but just not let the user edit it. try this < input type = "text" readonly value = "<%=(string)ViewData["UserName"] %>" / > hope this helps.
Started 5 days, 8 hours ago (2009-12-19 01:18:00)
by ali62b
you should change your code to public class SecurityGateAttribute : FilterAttribute , IAuthorizationFilter ... check out this link for more info hope this helps.
Started 4 days, 15 hours ago (2009-12-19 17:30:00)
by gerrylowry
There is no postback in ASP.NET MVC:
http://dotnetslackers.com/articles/aspnet/AnArchit ecturalViewOfTheASPNETMVCFramework.aspx .
"The MVC Framework doesn't support classic postbacks and viewstate
and doesn't consider any URL as the endpoint to a physical server file
to parse and compile to a class."
"In the MVC Framework, a URL is seen as the mean to address a
logical server ...
|
|
Hot threads for last week on ASP.NET MVC::
Started 3 days, 7 hours ago (2009-12-21 01:57:50)
by ali62b
Take a look at this link . hope this helps.
Started 4 days, 5 hours ago (2009-12-20 03:28:00)
by ali62b
quentins: Is there a way to do this so it can be used in a Label or a TextBox (I want to show the same data as would be in a DropDown for the SELECTED ITEM) but just not let the user edit it. try this < input type = "text" readonly value = "<%=(string)ViewData["UserName"] %>" / > hope this helps.
Started 6 days, 11 hours ago (2009-12-17 21:25:05)
by CodeHobo
You can do this by setting up custom routes. Go into your global.asax file and you can add custom routes to the RegisterRoutes method. Assuming page1 and page2 are action methods in the Home controller, you can do something like this: public static void RegisterRoutes(RouteCollection routes){
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.MapRoute(...
Started 1 week, 1 day ago (2009-12-16 07:04:12)
by Yasser.net
Hi,
Using MVC makes lot advantages and disadvantages,
1) We post the data over different layers, hence it is better to maintain the data values as custom objects rather than control objects, OR mapping is the best option.
2) One of the core of purpouses of the MVC is to segregate the layers for the devlopers to work in different layers. For this Mid sized application MVC is not much ...
Started 5 days, 17 hours ago (2009-12-18 15:24:00)
by levib
By default RenderAction() and other helpers won't jump out of the current area. Try calling an overload of RenderAction() that takes a routeValues parameter, and pass new { area = "" } for that parameter. That will force RenderAction() to consider only the empty string area (all controllers not explicitly within an area have an implicit area of "") when trying to choose a route....
Started 1 week, 2 days ago (2009-12-14 22:19:00)
by gerrylowry
http://www.asp.net/learn/mvc/tutorial-21-cs.aspx http://www.asp.net/learn/mvc/tutorial-05-cs.aspx if you create the tutorial #21 above, you'll get routes like #5 above. Here, from #5: public static void RegisterRoutes (RouteCollection routes) { routes.IgnoreRoute("{resource} . axd /{*pathInfo}"); routes.MapRoute( "Default",...
Started 6 days, 19 hours ago (2009-12-17 13:25:00)
by CodeHobo
In asp.net mvc 2 there is an Html Helper method called RenderAction. You can also use it in asp.net mvc1 but you have to download and add the futures dll to your project. Here is an example on using RenderAction: http://haacked.com/archive/2009/11/18/aspnetmvc2-r ender-action.aspx For your example you can do something like : <!--Content-->
<%= Html.Action("Menu") %>...
Started 1 week ago (2009-12-16 14:31:00)
by ali62b
you should use RedirectToAction or RedirectToRoute methods for this kind of works . hope this helps.
Started 4 days, 15 hours ago (2009-12-19 17:30:00)
by gerrylowry
There is no postback in ASP.NET MVC:
http://dotnetslackers.com/articles/aspnet/AnArchit ecturalViewOfTheASPNETMVCFramework.aspx .
"The MVC Framework doesn't support classic postbacks and viewstate
and doesn't consider any URL as the endpoint to a physical server file
to parse and compile to a class."
"In the MVC Framework, a URL is seen as the mean to address a
logical server ...
Started 4 days, 5 hours ago (2009-12-20 03:32:00)
by ali62b
Are you sure when you go to faq.aspx using VWD you dont get error ? in ASP.NET MVC there is no more pages if this is the case.
|
|