|
I need to learn and adpot the MVC methodology for building web apps. Which is the better way to go given that I have experience with ASP .NET Webforms - ASP .NET MVC or Ruby on Rails?
I've heard people going gaga over RoR and its simplicity and its features...
Started by SaM on
, 10 posts
by 10 people.
Answer Snippets (Read the full thread at stackoverflow):
The ability to rapid prototype, and a hobbyist RoR developer... .
It a lot of thought; since my area is pretty much 99% .Net based and that's what companies want, I decided sound like they are there in ASP .NET MVC in some form or the other.
|
|
For my ASP .NET webpage I am using a MySQL database with a TINYINT field to indicate a boolean (0/1) value.
Thanks to stackoverflow I was able to read the field value into a Listview as a asp:Checkbox.
<asp:CheckBox ID="freight_foundCheckbox" runat...
Started by John M on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
<asp:CheckBox ID="freight.
Directly to .NET boolean and back when using the MySQL Connector/.NET .
|
|
I am succesfully building ASP .Net applications in NAnt using the ASP Compiler, without a problem., as part of my Continuous Integration process.
However, if I try exactly the same process on an ASP .NET MVC application, the build fails in NAnt, but will...
Started by Brett Rigby on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
I find studio to be more friendly that the asp compiler.
Solve what you wish to achieve.
|
Ask your Facebook Friends
|
I am using a .NET 3.5 ListView control and would like to display a TINYINT field value as a checkbox (0 = False, 1 = True).
How to do this?
I was trying:
<asp:CheckBox ID="freight_foundCheckbox" runat="server" Checked='<%# Eval("found") %>' /...
Started by John M on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Try this:
<asp:CheckBox ID="freight_foundCheckbox" runat="server" Checked='< to convert the value to bool:
<asp:CheckBox ID="freight_foundCheckbox" runat="server" Checked='<%# (int.
|
|
I have a web site that runs both classic ASP and ASP.NET Webforms. The sessions for each are separate.
I need to hit some asp page whenever a request is made on the ASP.NET pages.
Why? Because I need to extend the ASP's session so it doesn't expire.
I...
Started by Joseph on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Update - as you say HTML required to make the request to the ... .
You don't need to a do nothing ASP script file in the ASPX page? Or look at something like this .
Put a .asp page inside an iframe on the asp.net page? Just clarifying here...
|
|
I've written a COM interop enabled class-library in C# using .Net 3.5. The object is meant to provide some utility functions for classic ASP pages. I've written a test.asp page which instanciates the desired object and calls its methods. Works fine on...
Started by Matthias on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Server that has Internet Explorer 7 installed: "ASP 0177:8000ffff" KB937143 breaks ASP to .NET COM.
|
|
I have a asp:Menu bound to a Sitemap on my sites master page:
<asp:Menu ID="Menu1" runat="server" DataSourceID="SiteMapDataSource2" Orientation="Horizontal" StaticDisplayLevels="2" CssSelectorClass="PrettyMenu"> </asp:Menu>
The menu works ...
Started by John M on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Don't know it applies in your case though:
http://support.microsoft.com/?scid=kb%3Ben-us%3B969612&x=5&y=10
In case anyone else encounters something similar... .
The following Microsoft KB article talks about it.
I had a similar problem with IIS 6.0 and IE8 .
|
|
I am building an ASP .NET 2.0 web app for an intranet environment. The site may have to be hosted on an XP machine in the LAN. IIS would restrict the number of connections to 40. My requirements are different - the number of clients in the LAN could be...
Started by SaM on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Other alternatives:
Apache + mod_mono (but your app would be running under Mono instead of "standard" .net, which may or may not bring its own problems) Apache + mod_aspdotnet... .
I wouldn't consider cassini, in my experience it's too slow for production .
|
|
As someone with some winforms and client applications experience - is it worth going back and learning the way traditional ASP .NET pages work, or is it okay with moving straight into ASP .NET MVC?
I'm kind of looking for pitfalls or traps in my knowledge...
Started by crucible on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
The problem with WebForms is there is a lot....
So by using MVC and understanding it, you will have a better understanding of how WebForms work .
It works closer to the base of the framework than normal ASP.NET Web Forms .
Here is the great thing about MVC.
|
|
Lets say on my page I have this function:
function ReturnFoo(bar) { return bar.toString() + "foo"; }
Now, I would like to have this called from ASP .NET, hopefully with the ASP .NET AJAX framework, as I am already using it in this codebase (I have already...
Started by RyanKeeter on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
Then, the function sets....
I don't see how you expect server-side code to call a client-side function???
AJAX calls are from the client-side to the server-side!
I have done this before by using a text control marked as hidden with autopostback on change .
|