473,698 Members | 2,158 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Web Services project

Is there a way to create a web service project that has a proper project
file (e.g. csproj), instead of having it be file based where whatever
happens to be in the directory magically becomes part of the project?

Thanks
Feb 24 '06 #1
1 1367
Frank,

Any project should have a csproj file...

It's usually created in My Documents\Visua l Studio 2005\Projects by default.
But if you want more control here's what I do:

I first create a new visual studio project of the type blank solution. To do
this I go to New - Project and then in the New Project window expand the
"Other Projects" node and select Visual Studio Solutions. Then select "Blank
Solution" in the Templates pane name the blank solution whatever you'd like,
set it's location if you don't want to use the default, and click "OK".

Now in the solution explorer you will have a blank solution (with the name
you gave it) with nothing in it. Right click on the Blank Solution and click
"Add - New Website". Select "ASP.NET Web Service" and set the location to
File or HTTP (I prefer HTTP and I use virtual directories so that I can
place the files right into the solution folder.)

The following instructions are for creating a HTTP website using a virtual
directory:

Select "HTTP" in the location drop down.

Select the language for the site.

Click the "Browse" button.

In the window that opens the second icon of a folder in the top right is for
creating a new virtual directory. Click that folder icon.

In the New Virtual Directory window that opens give the directory an
appropriate alias such as: MyWebService and then click the "Browse" button.

Browse to the location you put your blank solution folder in. Enter the
solution folder itself and then click the "Create New Folder" icon. Create a
folder with the same name you gave for the "Alias Name" select that folder
and click "Open".

Now click the "OK" button.

You will now have a new IIS website who's files are all stored inside the
virtual directory folder inside your solution folder.
--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"Frank Rizzo" <no****@nospam. com> wrote in message
news:Oh******** ******@TK2MSFTN GP11.phx.gbl...
Is there a way to create a web service project that has a proper project
file (e.g. csproj), instead of having it be file based where whatever
happens to be in the directory magically becomes part of the project?

Thanks

Feb 24 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2501
by: Chris Dunaway | last post by:
A quick scan of the group did not immediately reveal an answer to my questions so here goes. First let me describe my app and then I'll ask the questions. I am writing a Windows Forms App (not Web Forms) that serves as a thin client to some web services. In other words, the Windows Forms app will be installed on the client machines and that app will call web services that are deployed on my server.
0
1331
by: graciezzzzz | last post by:
Hi all, I create a Web Service project called 'eSelectService' and another Class Library project called 'MonerisVO', and a Windows Form project called 'maps' as well. The reason why I need the Class Library project is because I don't want to pass more than 30 parameters when I try to invoke the Web Method. I used the class in Class Library as a value object to contain all the information I need.
0
1254
by: graciezzzzz | last post by:
Hi all, I create a Web Service project called 'eSelectService' and another Class Library project called 'MonerisVO', and a Windows Form project called 'maps' as well. The reason why I need the Class Library project is because I don't want to pass more than 30 parameters when I try to invoke the Web Method. I used the class in Class Library as a value object to contain all the information I need.
1
1009
by: enantiomer | last post by:
In my project that I am working on, within visual studio 2005 I would like it so that I can group my multiple web services under one web reference name. I need this because I am reusing code that directly consumes my business services project. For example, BusinessServices project has - SecurityServices, UserServices classes BusinessServices.Web project has - SecurityServices, UserServices web services, which basically map to the...
2
2070
by: sdstraub | last post by:
I have created 5 services in my project, in the 1st service I set servicestorun = array of all 5 services, I have a project installer with 5 service installers, one for each service. I have code so that whenever any service starts, stops or timers elapse a log entry is created. When I install my project, and start the 1st service in the services console, it shows that the service started and I have the corresponding log entry confirming...
0
8609
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9170
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9031
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7739
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6528
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5862
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4371
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4622
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.