简体   繁体   English

Visual Studio 2008和C#

[英]Visual Studio 2008 and C#

I'm an IT Professional with a background with developing ASP/VBscript/SQL web applications. 我是一名IT专业人员,具有开发ASP / VBscript / SQL Web应用程序的背景。 I want to take some training and get up to speed with Visual Studio 2008 and C# so that I can take over a project at work and make updates/bug fixes in house rather than calling in a third party. 我想接受一些培训并掌握Visual Studio 2008和C#的最新知识,这样我就可以接管工作中的项目并在内部进行更新/错误修复,而无需致电第三方。

The web application I'll be working on was developed in Visual Studio 2005 with a mix of C# code and some Ajax. 我将要使用的Web应用程序是在Visual Studio 2005中使用C#代码和一些Ajax混合开发的。

When I load the source code into Visual Studio 2008 I received a warning that the Source Control Plugin wasn't installed. 将源代码加载到Visual Studio 2008中时,收到一条警告,提示未安装源代码管理插件。 It's looking for SourceSafe which I don't have. 它正在寻找我没有的SourceSafe。 Is this necessary to use? 有必要使用吗?

I'm starting a training course in February called Introduction to Visual Studio C# 2008. Well this be adequate to get me going in the right direction to be able to update, fix, and make minor changes to our web application? 我将从二月份开始一个名为Visual Studio C#2008简介的培训课程。那么这足以使我朝正确的方向发展,以便能够更新,修复和对Web应用程序进行较小的更改吗? This is a big opportunity for me and I don't want to blow it. 对我来说,这是一个很大的机会,我不想浪费它。

Thanks! 谢谢!

SourceSafe is a Software Configuration Management tool from Microsoft, and is not required. SourceSafe是Microsoft的软件配置管理工具,不是必需的。 I WOULD recommend using some form of SCM, but flavor is a matter of preference. 我建议使用某种形式的SCM,但是口味是优先考虑的。

If the pop-ups are annoying to you and you would like to disable them, then removing the SourceSafe bindings from the project should stop them. 如果弹出式窗口让您烦恼,而您想禁用它们,那么从项目中删除SourceSafe绑定应将其停止。

From http://weblogs.asp.net/bkcarroll/archive/2004/03/08/86059.aspx : http://weblogs.asp.net/bkcarroll/archive/2004/03/08/86059.aspx

Solution:

1 - Go to the folder containing the solution files and delete the following:
          mssccprj.scc
          MyProject.vssscc
          vssver.scc

2 - Open MyProject.sln in your favorite text editor and remove the following section:
          GlobalSection(SourceCodeControl) = preSolution
                     ...
          EndGlobalSection

3 - Go to the folder containing the project files and delete the following:
          MyProject.vbproj.vspscc
          mssccprj.scc
          vssver.scc

4 - Open MyProject.vbproj in your text editor and remove the following lines:
          SccProjectName = "SAK"
          SccLocalPath = "SAK"
          SccAuxPath = "SAK"
          SccProvider = "SAK"

Now you can open the solution/project with no source control errors.

As far as the class goes, if you're already familiar with ASP/VBScript, you can probably pick up a C# class and figure out the rest. 就该类而言,如果您已经熟悉ASP / VBScript,则可以选择一个C#类并找出其余的类。 If not, I would suggest going for an ASP focused class that utilizes a C# back-end. 如果没有,我建议您去学习一个利用C#后端的ASP集中类。

I would expect that a course named "Introduction to Visual Studio C# 2008" would probably not cover Ajax technologies, so you might want to look for some additional resources on that topic. 我希望一门名为“ Visual Studio C#2008简介”的课程可能不会涵盖Ajax技术,因此您可能需要寻找有关该主题的其他资源。 (It might not even cover ASP.NET in significant depth, so I'd advise checking the syllabus, and if the ASP.NET coverage is weak then prepare for some additional learning on that topic as well.) (它甚至可能没有涵盖ASP.NET的足够深入的内容,因此,我建议您检查课程提纲,如果ASP.NET的覆盖范围较弱,则也准备对该主题进行一些进一步的学习。)

Re the Source Safe plug-in: you will need this if you want to work on the code base (so you can check in and out of the existing VSS repository). 重新使用Source Safe插件:如果要在代码库上工作,则需要此插件(以便可以检入和检出现有VSS存储库)。 You will not need it just to browse the code. 您只需要浏览代码就不需要它。

Well James that is up to you. 詹姆斯,这取决于你。 I am not familer with the course but if you apply yourself and pay attention I'm sure you can achive your goal. 我对这门课程并不熟悉,但是如果您专心学习并专心一点,我相信您可以实现您的目标。 Do not be afraid to move beyond just course work to learn new things. 不要害怕超越课程学习新事物。 There is a lot of information about Visual Studio on the internet. 互联网上有很多有关Visual Studio的信息。

SourceSafe is not required to use Visual Studio. 使用Visual Studio不需要SourceSafe。

Learning the basics of VS will definitely allow you to update and fix your web apps. 学习VS的基础知识绝对可以使您更新和修复Web应用程序。 VS allows you to work with all the technologies you mentioned all in one environment. VS使您可以在一个环境中使用您提到的所有技术。 Although ASP/VBScript are "legacy" at this point, there is still support for them in the VS environment. 尽管ASP / VBScript在这一点上是“传统”,但在VS环境中仍然支持它们。

James I'd suggest that you look at the free resources (video and textual) available to you on ASP.NET . James,我建议您查看ASP.NET上可用的免费资源(视频和文本)。 I would presume that once you've read a few tutorials and watched some videos + taken your training course you should be able to maintain the code base. 我认为,一旦您阅读了一些教程并观看了一些视频并参加了培训课程,您就应该能够维护代码库。 Add in the fact that sites like StackOverflow have a large .NET community and there are always people willing to help. 此外,像StackOverflow这样的网站都有一个庞大的.NET社区,而且总有人愿意提供帮助。

Good luck 祝好运

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM