Go Back   CodingForums.com > :: Server side development > ASP.NET

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-16-2011, 05:35 PM   PM User | #1
~Kira
New Coder

 
Join Date: Oct 2009
Posts: 29
Thanks: 6
Thanked 0 Times in 0 Posts
~Kira is an unknown quantity at this point
Question How do I upload .net or asp.net files?

I have just downloaded a "repository" from a coder and now have 3 directories (BLL DAL UI) and a .sln file. I honestly do not know if it's .net, vb.net asp or asp.net or anything but it's definitely MS stuff. I got them off unfuddled.

Do I just ftp these up to my new server or what?

Also, where would the database be located? (SQL)

Last edited by ~Kira; 12-18-2011 at 02:31 PM..
~Kira is offline   Reply With Quote
Old 12-16-2011, 08:39 PM   PM User | #2
alykins
Senior Coder

 
alykins's Avatar
 
Join Date: Apr 2011
Posts: 1,608
Thanks: 37
Thanked 183 Times in 182 Posts
alykins will become famous soon enough
the "files" should look something like
BLL (a folder yes?)
DAL (a folder yes?)
UI (a folder yes?)
.sln (the solution file)
what that is insinuating to me is that most likely it is three projects in one solution named BLL, DAL, and UI ... probably Business Logic Library? (BLL) Database Library? (DAL) and User Interface? (UI) again all shots in the dark w/o seeing it... anyways launching the .sln w/ visual studio will open everything you need and allocate everything to it's folders respectively.

Now... "What language is it in?" expand down into those folders and look and see f you see .vb or .cs if .cs C# if .vb Visual basic and if both then you are in for a nightmare and whoever wrote it should be shot.

"Where would my database be located?"
You need to set that up. If.... IF! they did it correctly if you look in the config files under
Code:
<configuration>
  <connectionStrings>
    <add name="ApplicationServices"
         connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true"
         providerName="System.Data.SqlClient" />
  </connectionStrings>
*that is microsofts auto generated code btw*
that will be something else and should have connection strings more intuitive to the project as such... if that's all you see, your are in for another nightmare bc that means they hard coded all their DB connections and you will need to modify them by hand. Best of luck post back w/ more Q's
__________________

I code C hash-tag .Net
Reference: W3C W3CWiki .Net Lib
Validate: html CSS
Debug: Chrome FireFox IE
alykins is offline   Reply With Quote
Users who have thanked alykins for this post:
~Kira (12-16-2011)
Old 12-16-2011, 09:29 PM   PM User | #3
~Kira
New Coder

 
Join Date: Oct 2009
Posts: 29
Thanks: 6
Thanked 0 Times in 0 Posts
~Kira is an unknown quantity at this point
Thank you for all that information. I do see the connection file and it has user name & password in it. Is this bad?

All I see, looking through the files is .cs files, so that's C# and no vb. So, that's good.

Also, Visual Studio looks rather expensive and I don't have it. I suppose I should find someone with it and have them unpack the files for me so I can ftp? Seems like a lot of work for what should have just been a simple zip sent over.

Thanks for your help!
~Kira is offline   Reply With Quote
Old 12-16-2011, 09:34 PM   PM User | #4
alykins
Senior Coder

 
alykins's Avatar
 
Join Date: Apr 2011
Posts: 1,608
Thanks: 37
Thanked 183 Times in 182 Posts
alykins will become famous soon enough
the user name and passwor din the config file is not bad- that is where it should be... is the code published? if it is published then FTP it to the appropriate folder in site- if not then you will need VS to publish it to the site
__________________

I code C hash-tag .Net
Reference: W3C W3CWiki .Net Lib
Validate: html CSS
Debug: Chrome FireFox IE
alykins is offline   Reply With Quote
Users who have thanked alykins for this post:
~Kira (12-16-2011)
Old 12-16-2011, 09:40 PM   PM User | #5
~Kira
New Coder

 
Join Date: Oct 2009
Posts: 29
Thanks: 6
Thanked 0 Times in 0 Posts
~Kira is an unknown quantity at this point
so vs is a publisher too? argh. I had to get the "repository" off of unfuddled or whatever - took me hours to get the right set of programs necessary just to download the files because none of the commands in the help section were working for me.
~Kira is offline   Reply With Quote
Old 12-17-2011, 01:42 AM   PM User | #6
alykins
Senior Coder

 
alykins's Avatar
 
Join Date: Apr 2011
Posts: 1,608
Thanks: 37
Thanked 183 Times in 182 Posts
alykins will become famous soon enough
Quote:
Originally Posted by ~Kira View Post
so vs is a publisher too? argh. I had to get the "repository" off of unfuddled or whatever - took me hours to get the right set of programs necessary just to download the files because none of the commands in the help section were working for me.
i could be wrong on this so anyone who knows definitive answer correct me if wrong-

the thing you pay for in .net is the .net compiler- until recently I thought the framework was what cost $$ but I was then told that it is not the framework (which coincides since you can download the framework for free) but the compiler is the key to what MS charges for- and yes, VS is a .net framework compiler which is why you need it

*again if this is incorrect someone let me know "what" is incorrect but that is my understanding... I don't know of any other way to compile/publish the .net code without VS.... look into VS express though i don't know what it's limitations are but i think it is free
__________________

I code C hash-tag .Net
Reference: W3C W3CWiki .Net Lib
Validate: html CSS
Debug: Chrome FireFox IE
alykins is offline   Reply With Quote
Old 12-17-2011, 03:46 PM   PM User | #7
~Kira
New Coder

 
Join Date: Oct 2009
Posts: 29
Thanks: 6
Thanked 0 Times in 0 Posts
~Kira is an unknown quantity at this point
I have VS lightswitch now but apparently it needs to be on the server as well. So I'm working on that. I guess I install it myself.
~Kira is offline   Reply With Quote
Old 12-17-2011, 04:50 PM   PM User | #8
~Kira
New Coder

 
Join Date: Oct 2009
Posts: 29
Thanks: 6
Thanked 0 Times in 0 Posts
~Kira is an unknown quantity at this point
ok I'm trying to install the Web Platform installer on the server as mentioned here
http://msdn.microsoft.com/en-us/library/gg481779.aspx

I did this download as the instructions point to menu items that don't exist
http://www.microsoft.com/web/downloads/platform.aspx

And I have chosen the closest thing I can see which it lightswitch and sql server tools. 2 things.
Edit: OK Now I see it won't install lightswitch SP1 because it needs lightswitch 2010 express, but I have lightswitch 2011 on my computer.

It won't let me click the I Accept button. Does anybody have any ideas about this? I seriously need some help here. Thank you!

Last edited by ~Kira; 12-17-2011 at 05:16 PM..
~Kira is offline   Reply With Quote
Old 12-18-2011, 02:30 PM   PM User | #9
~Kira
New Coder

 
Join Date: Oct 2009
Posts: 29
Thanks: 6
Thanked 0 Times in 0 Posts
~Kira is an unknown quantity at this point
OK after I installed a huge bunch of MS software, I put the files up on my server and downloaded them via firefox. I could not open the .sln file as it said something about ccproj. Anyway I opened VS express and opened the project file and it came up but now there is a runtime error to do with Telerik.

Last edited by ~Kira; 12-18-2011 at 02:33 PM..
~Kira is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:53 PM.


Advertisement
Log in to turn off these ads.