all groups > asp.net > february 2008 > threads for saturday february 16
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
Replace /n with a XHTML <br /> using string.replace
Posted by Alun at 2/16/2008 8:53:06 PM
I need to replace all new line characters in a string with a valid
XHTML line break tag <br />.
I'm trying to use the string.Replace method for this. Here's some
example code:
String description = "This is a video description \n Hello World";
description = description.Replace("\n", "<br />... more >>
measuring one request's cpu usage?
Posted by tbh at 2/16/2008 2:52:59 PM
cpu load increased on our web servers unexpectedly after a recent, fairly
routine "release change" (which is to say, we changed a bunch of our scripts
and libraries in one fell swoop). i can back off to the previous release,
but it is typically quite hard to simulate live load on test systems,... more >>
profile provider
Posted by Tem at 2/16/2008 2:29:29 PM
Is this possible with asp.net membership provider?
I need it to return the user name of a user whos profile property age > 65
If not directly from the provider how do I write a sql query that does this?
Tem
... more >>
cookieless session, "~" operator and client-side cashing problems
Posted by Tomasz J at 2/16/2008 1:31:06 PM
Hello developers,
My custom control allows for specifying paths to images it uses.
In those paths I want to be able to use the "~" app root operator, so my app
works correctly with virtual paths.
So, rendering the control I have to convert the "~" app-rooted paths to a
website-rooted path... more >>
Path
Posted by shapper at 2/16/2008 12:05:16 PM
Hello,
I am uploading a file. Which one should I use?
FileUploadInsert.SaveAs(Server.MapPath("App_Files/MyFile.jpg"))
or
FileUploadInsert.SaveAs(Server.MapPath("~/App_Files/MyFile.jpg"))
Both work. Is "~/" necessary in this case?
Thanks,
Miguel... more >>
Use a remote web service with dropdownlist
Posted by royend at 2/16/2008 11:16:41 AM
Hi.
I need to access a remote web service which I have created on the
domain www.abc.net. The web service is working well when used on www.abc.net
and is also accessible through the web browser responding with the
usual WSDL.
For my second domaind (www.abcd.net), I have added the Web Service ... more >>
Intranet Blog\Forum software for business use
Posted by JeffDotNet at 2/16/2008 10:50:02 AM
I’m interested in setting up an Intranet blog/forum application for work.
The idea is to have people in the office blog about projects they are working
on and problems they are facing. We will still need to have a site moderator
that approves the blog entries prior to posting. And we woul... more >>
Re-building the URL with a different Host
Posted by Alex Maghen at 2/16/2008 7:50:00 AM
I want to redirect the user to a URL that will actually be exactly the same
URL on the same site, but with a different Domain.
For example, let's say the page where the user currently resides is
http://DomainA.com/SomeFolder/Default.aspx
and I want to redirect the user automatically to w... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
VS.Net 2003, unable to open web project
Posted by Sagar at 2/16/2008 3:12:04 AM
Hi Iam unable to open my ASP.Net web project HRMS.vbproj suddenly in
VS.Net 2003
I am getthing this error.
Unable to open Web project '/'. The file path 'D:\company\ASP\Web'
does not correspond to the URL 'http://Localhost:'. The two need to
map to the same server location. HTTP Error 500:... more >>
"~" in Visual Studio and "~" in real IIS
Posted by Alex Maghen at 2/16/2008 2:58:01 AM
I am confused about something: Let's say I have a web application I've
developed and it's sitting in a directory called "Docroot". In that Docroot
folder is a Web.config and a Default.aspx.
Whe I run the application from within Visual Studio (2008), the URL in IE
when it runs is:
http:/... more >>
|