|
Visual Studio 2008 has a built-in web server named Cassini. When you run a web site project or web application project it loads the web server and allows you to browse the site. So you don't need IIS.
That said, there are projects on the web which showcase web servers written in C#, however, to my knowledge none of them are anything more than an http server. So while I've never tried, I believe it would be pretty difficult to implement your own web server which can serve asp.net pages. I suggest you just use the built-in web server. If you are trying to actually serve pages to the public you should look for a hosting provider that hosts asp.net applications on IIS.
Mark's blog: developMENTALmadness.blogspot.com
Funniest variable name:
lLongDong - spotted in legacy code, was used to determine how long a beep should be. - Dave Bacher
|
|
|
|
|
Hi,
Is there any one know that how can i get the time duration that a visitor of my site clicked on one of my Ads and visits that site?
regards
|
|
|
|
|
Like the amount of time they clicked down? You could do that with a little javascript I guess. Is that actually what you want to do?
Brad
Australian
The PHP MVP
- Christian Graus on "Best books for VBscript"
A big thick one, so you can whack yourself on the head with it.
|
|
|
|
|
I am doing some testing of the difference of an application that calls a web service for all database I/O and an application that uses embeded, direct connect, SQL calls. After testing it appears that the application that does the direct connect to the database runs faster then the one that uses the web service for the data I/O. This being the case, why would I use a web service for data I/O and not just use embeded SQL? Note: I am testing a server application that runs on Windows Server 2003 and a database running on a Sun machine. As far as the web service, it and the server application are both running on the same Server 2003 machine.
Thanks!
|
|
|
|
|
Steve Holdorf wrote: After testing it appears that the application that does the direct connect to the database runs faster then the one that uses the web service for the data I/O.
If the queries and the web service are both well-designed, you should be sending back roughly the same data in both cases, with the web service giving you an opportunity to cleanly separate the client from the inner workings of the DB (with the potential for optimized queries, caching, etc. that come with such orthogonal design). So my guess is that the web service is poorly implemented, or you're not using it for the purpose it was intended. In that case, i don't see much of a point in bothering with it.
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
Hi Everybody,
I wanted to know How to compress or Zip a file in Asp Classic.
I wanted to zip a file which is kept on web server.
Is there any technique to do this?
Kiran Sajanikar
|
|
|
|
|
Why are we getting ASP "classic" questions here? Is there a big "kick us" sign somewhere that i'm not seeing?
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
Nothing built in. ASP 'classic' ( which makes it sound a lot nicer than it is ) was VBSCript, so do things the VB way - buy C++ code to do the real work :P
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
|
I have a web page which takes two arguments and refreshes itself to get many values from database using servlet. Am using html and javascript as front end. It should implement ajax technology thereby it updates the web page without reloading the page.
|
|
|
|
|
Correct.
Brad
Australian
The PHP MVP
- Christian Graus on "Best books for VBscript"
A big thick one, so you can whack yourself on the head with it.
|
|
|
|
|
Good for you. :golf clap:
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
Hi all,
I'm not sure if this is the right forum for my question, but here goes. I have no problem with using dream weaver or note pad to edit my websites. However, if I want to allow someone who does not know a single HTML tag to maintain his/her own site after I create one for him/her, that would be a problem. What free CMS (content management system) out there will allow me to achieve my goal? I would like WYSIWYG as one of the features and also drag and drop capability to allow dragging and dropping of different web elements. I have seen many free ones but they did not satisfy my needs. Please point me to ones that are user friendly and have all of what I have mentioned above. Any suggestions would be great, thank you in advance for your help.
|
|
|
|
|
Not knowing what kind of website you want to implement suggestions are hard to make. Have you tried Joomla?
Brad
Australian
The PHP MVP
- Christian Graus on "Best books for VBscript"
A big thick one, so you can whack yourself on the head with it.
|
|
|
|
|
Hallo. I'm actually working on a gig where my client uses DotNetNuke (DNN). It is free/open source, though doubtless the hosting and any personal tech support is what adds cost.
DNN is an open source CMS built on ASP.Net, snd so far, I'm finding that it works fairly well, comes with several basic skins and choices of other free/low-cost skins, etc. You can add security, create different portals (such as using it as your CMS of choice for multiple clients with different website addresses), etc.
As for the WYSIWYG part, DNN has FCKEditor (FE) built in for that, so you will need to study FE to work out minor CSS issues brought on by slight conflicts between the built-in DNN Stylesheet Editor and the FE syles and config files. Looks pretty easy if you have access to the full directories (which as a contractor I do not). Check it out:
DotNetNuke:
[^]
FCKEditor: www.fckeditor.net/[^]
Good luck!!
_________________________________________________
Have a great day!!!
-- L.J.
|
|
|
|
|
Hi.
I have been trying to customise osCommerce to match the colour scheme the client (a friends mother) wanted (lime green, pink and purple, managed to convince that pink is all thats needed), which has all gone fine so far, except for the fact osCommerce keeps throwing this warning "Warning: I am able to write to the configuration file: C:\\Inetpub\\vhosts\\krazykrafters.co.nz\\httpdocs\\oscommerce/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.". I understand the problem, but despite hours of trying various file permission combinations for the file, it still there. It would be nice if plesk was more like cpanel and you could do something like [rwx--xrw-] but it doesnt.
Anyone with experience in plesk able to help?
View the error here
|
|
|
|
|
Can you access the shell through plesk? If not you could just write a PHP script to change the permissions for you.
Brad
Australian
The PHP MVP
- Christian Graus on "Best books for VBscript"
A big thick one, so you can whack yourself on the head with it.
|
|
|
|
|
Thanks for a good idea
Wrote the script and now the error is gone.
|
|
|
|
|
The .NET 3.5 Enhancements Training Kit covers the technologies in the .NET 3.5 SP1 release and the out of band releases that are a part of the same wave, namely ASP.NET MVC and the ASP.NET Silverlight controls. Currently, the training kit contains six hands-on labs, made up of the following technologies:
- ADO.NET Data Services
- ADO.NET Entity Framework
- ASP.NET AJAX History
- ASP.NET Dynamic Data
- ASP.NET MVC
- ASP.NET Silverlight controls
All six labs contained within the kit have been tested and validated by customers during two .NET 3.5 SP1 training workshops held in Redmond. We will continue to receive customer and field feedback on the labs and incorporate the feedback into future iterations. There will also be new versions of the training kit with additional content, including presentations, demo scripts and screencasts.
You can download the training kit at http://go.microsoft.com/?linkid=8719735[^]
The next iterative release of the kit will occur in sync with the beta release of .NET 3.5 SP1.
|
|
|
|
|
Hi all! PHP Newb here,hoping you could help..
I've got the following code:
<code>
$FSFriendlyTitle = str_replace(':',':',$VMRow['Title']);
echo "<h2>".$VMRow['Title']." (Season ".$VMRow['SeasonReleased'].")</h2><hr/>";
//echo "/Images/Posters/".$FSFriendlyTitle.".jpg";
if(file_exists("/Images/Posters/".$FSFriendlyTitle.".jpg"))
{
echo "<img src='/Images/Posters/".$FSFriendlyTitle.".jpg' alt='".$VMRow['Title']."'/><p/>";
}
else
{
echo "<img src='/Images/Posters/Poster Missing.jpg' alt='".$VMRow['Title']."'/><br/>";
}
</code>
which is supposed to display an image file if it exists and a predefined one if it doesn't. The problem is that it always displays the predefined file, unless I negate the result from file_exists (but then the code attempts to display images that doesn't exist too). Yes, the images exist(the path is correct too, if I paste the output path[by the commented echo] into the url it works) and I have have a near identical setup with a different set of images, which works.If you need more info, just ask. Anybody got any idea here?
<div class="ForumMod">modified on Monday, April 21, 2008 3:30 PM</div>
|
|
|
|
|
Can I ask why you chose to learn PHP ?
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
Because it is touted as a versatile and powerful scripting language I wanted to learn so that I have something to compare VBScript to.
|
|
|
|
|
Personally, I feel PHP is far-ahead, more versatile than the crap VB family.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
So that I wasn't alone.
Brad
Australian
The PHP MVP
- Christian Graus on "Best books for VBscript"
A big thick one, so you can whack yourself on the head with it.
|
|
|
|
|
The path given to file_exists() should be the actual physical path on your filesystem, not the one in the URL. Probably you should prepend $_SERVER[DOCUMENT_ROOT] to your path.
|
|
|
|