I have a webapplication project.I make URLFriendly for it as
It is right in the VS.Net (debug mode),but when publish the webapplication
on the localhost or server application it don't right.
I don't understand problem it.
In what way is it not right?
What happens, and how does that differ from what you expect?
Do you get any error message?
"Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things."
-- Douglas Adams
".where as use it when runtime of the webapplication you don't see message error and everything is ok.
I used Application_BeginRequest event in the Global.asax file ,i give
the Request.Path and mapping by url in the site,it is correct in the debug mode,but not correct the publish version.
I think never fire Application_BeginRequest event in the publish version.
I don't understand why don't fire event.
ASP.NET doesn't handle that side of things at all. If MySQL on Linux is able to advertise itself to your ASP.NET server PC, then you would connect to it using a connection string that identifies the PC on the network, and the database server on the PC.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
If you want to easly use dataset then chose ODBC. .NET Connector is for Hard Coded Pegeamers. In this connector you woud have to use Datareader and to display in Datagrid you can't simply bind, but you woud have to write programaticly.
For ODBC: If you think to change servers (From MySQL to MSSQL) chose this.
And if you chose Datareader (Avaible in both) you woud have sugnificent performence boost.
I erase some code in the source file in Visual Studio. (For example in Default.aspx.cs) And I save the file and close the Visual Studio 2005 IDE. How can I get back to erased code. Undo action is not working.
I'm new to ASP.NET but not to C#. I'm re-using some classes i wrote for a windows app that have some Trace messages in. I want to be able to view them in DebugView (http://www.microsoft.com/technet/sysinternals/utilities/debugview.mspx)
I've made it so the Page.Trace messages get chucked out to DebugView by adding:
<trace enabled="true" requestlimit="20" writetodiagnosticstrace="true ">to the Web.config file, but the question is, how do i make it so the Diag.Trace messages are also picked up by DebugView.