Tfs Format Files C# project [closed] - c#

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I am new to c# programming, i have completed a project in c# and my testers want to test it now.They want the code in tfs format. I am bit confused what should i give to them what is this Tfs format. I have got Aspx,Cs file of my project. My project is a 3 based on 3 Tyre architecture.
Please can anyone help me in this. That is this TFS format and how should i give them my source files in tfs format.

Since I don't know of I'm assuming they mean they want the code checked into Team Foundation Server source control. This probably allows them to set up automated testing using the latest code for their tests.
TFS is a shared server solution that (presumably) your client/company already has installed. It's not a "format" that you "export" your project to. It is (among other things) a source code repository, meaning you upload your code to the repository to share with others.
With Visual Studio 2008 all you should need (if it isn't installed already) is Team Explorer. That will let you add your code to source control, and will let "them" download it to do their tests.
There are a lot of variables with connecting to TFS (what version of Visual Studio? What version of TFS?) but once you're connected you should be able to right-click the project and click "Add project to Source Control."
However I would strongly suggest you ask "them" what servers they use, where the code should be stored, etc. before doing something you have to undo later.

Assuming a lot of things... I am pretty sure that your are programming something that is not integrated in your Source Repository software (standalone)... in your case TFS.
What you have to do is add your solution to TFS (maybe ask for help to any senior there) in order to allow it to be either built or downloaded by testers.
In order to "check in the code":
Go in Visual Studio to File\SourceControl
Click "Add Solution to SourceControl"
Choose where to upload it
NOTE: What you should really do is tell them something like: "Hey, I have finished your project. I don't have experience with TFS nor I know in which directory should I upload it... Could someone help me to upload the code?"

Related

Reseources to help understand SharePoint Solution Development [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I have some experience branding SharePoint sites through SharePoint Designer using JavaScript, jQuery, HTML, and CSS. Now I am starting a new job in which all development is Visual Studio and instead of modifying master and .aspx pages like a website, I now have to understand code behind pages, event receivers, templates, webparts, etc. None of these things are too difficult to grasp individually but staring down a large solution file with a hundred of these nodes is intimidating.
I decided to ask this question when I went to find the allitems.aspx page for a list to modify the structure of the view, an easy task in SharePoint Designer but in Visual Studio I see no lists or view/form pages.
Can anyone explain, or show me an explanation, of how all of these moving parts and pages of C# code become the SharePoint website the customer sees?
You need to look on SharePoint from the developer's point of view. Ask you team what strategy do they use for deployment as there is several possibilities.
If they use backup/restore strategy you still can apply your
previous experience as before.
But if they use WSP's, features and C# (or/and PowerShell) code for
deployment, i.e. create everything from scratch, you need to learn
Visual Studio. For instance schema.xml files for lists, modules for
custom css, xslt, master pages. Look books recommendation at this question and
check especially this book, it has a chapter devoted to branding
deployment as WSP.
first you need to install VS on the same machine "SP Server machine"
second you need to add references to the SharePoint SDK dlls found in the program files.
third start by playing with SPWeb and SPFile and other classes.
If you have more specific question I can try to help you.

Where is Safe to Save My Important Files? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I work on C# project.
In first run of my application SQL Server 2008 wants to create a database, and I wanted SQL Server 2008 to create the MDF file in Programs Files. But Windows(XP) doesn't let me (or SQL) create the file and shows "Access is Denied" error.
Where is a safe place to save My MDF file? Is "Application Data" folder a safe place? Do I have permission to make a file in this folder? Or is there a better place to save my file?
I have a solution to your problem. If you are going to develop for a specific target environment, you have to have a measure of control over the environment, or have contacts with people in your organization who do. It's that simple. YOU have to make this happen, one way or the other. You should have identified this in the early analysis and design phases of your project. Someone should have said, where are we deploying code? Where are we deploying the database? Do we have the permissions to do that? If not, who do we talk to that does? How much lead time to we need to make the request so the group XYZ can deliver in time? What management will need to approve this? Do new global groups need to be created. And on and on. The Stack Overflow community cannot answer these questions for you, because we don't know your organization, and environment. YOU DO, or at least you should. Or at least you should know who to ask so that you can know. What kind of development is this, where you, the developer can't copy a file somewhere? Where is your deployment plan? Why haven't you talked to your helpdesk or sys admins? If there are none, then give your admin rights to the PC in question and do as you please. It doesn't really matter where it is, as long as doesn't invite too much scrutiny (like in the root). YOU HAVE TO OWN THIS, or get buy in from those who do control who has access to which directories. Hopefully you will not take this as me jumping on your case, but just trying to give you a real perspective. I have worked for a number of companies, and there are always little fiefdoms, where certain people control certain resources and you have to navigate the maze. But do just that, and get the job done. This is why you are getting so many downvotes. You are overlooking something extremely obvious - instead of looking outward to Stack Overflow, this is something that you should be querying people inside that space where you are trying to deliver. I hope this helps.
All else fails, install SSMS Express and set up the db that way, and use (local)\SQLExpress in your connection string, and kill the mdf option, then uninstall SSMS. A lot of work, but it will get you results. Make a way. Good luck.

Accessing SQL Server remotely and generate report [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
Actually I am bit of confused right now and need some guidance. I have been offer a project to create web portal to generate report. Scenario is something like this,
Client has a business and he need to check the report of hourly sale. What should I do, should I put the SQL Server online or is there any other way to excess server database remotely. I have no experience in creating web portal, how should I start doing it.
Can anyone guide me in proper manner? I have experience in C#.NET using Visual Studio 2010.
Thanks.
This suggestion is without completely understanding your situation but...
There is an open source package called nopcommerce which has an inventory system, sales and other canned reports and a basic CMS built in.
It also includes all source code in C# and works with SQL Server.
It's generic enough to use for most retail scenarios and going this route will save you TONS of time trying to start from scratch.
I would think you could just download, install and customize and get 95% of everything you need from it.

Give users "Debug folder" of windows form application or published setup: Which is the better option [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I have to give my windows form application to other users and We are using shared drive.
I am not sure which is the better option: Giving users "Debug folder" of windows form application or published setup.
There are seveal options available for installing the application on the user's machine, instead of simply allowing them to run it from a network share.
One option is to use ClickOnce to generate a setup file, which can be accessed from a network share.
Compared with giving users access to the debug folder, it allows better control over updating (you can compile and run debug versions as much as you want, then when you're ready, publish it to your users, who will automatically get the latest version). It also allows for giving the users an optimised version of the program, without additional debugging overhead. It also manages installing dependencies, such as the .net framework.
For other advantages see here: http://www.msigeek.com/330/advantages-of-clickonce-deployment
See also: http://msdn.microsoft.com/en-us/library/142dbbz4(v=VS.90).aspx

Deployment kit suggestions [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I wrote some application under .Net 4.0 and I am looking a way to deploy it.
I am after some kit that will be able to:
Put my files in some predefined folder,
Create all needed short cuts
Insert my application under the programs menu.
Ideally this kit should be free and simple to use.
Definitely sounds like a job for WiX (Windows Installer XML Toolset).
Its a free open source MSI authoring toolkit that is xml based. It exposes 100% of the functionality of MSI and I've found it to be very useful in the past - it's definitely capable of doing everything that you have stated in your question.
Also as WiX is now widely used, there are plenty of resources available on the web:
Official documentation
Introduction to the Windows Installer XML Toolset (Tutorial)
Good resources for learning how to create MSI installers from WiX (StackOveflow Question)
Use either Wix for Windows (or the Web Deploy kit for Web)
Inno Setup is a good option too.

Categories