C# - Find The Most Efficient Way To Do Source Control In A Small Dev Environment?

May 14, 2010

I work in a group of 4 .Net developers. We rarely work on the same project at the same time but it does happen from time to time.We use TFS for source control. My most recent example is a project I just placed into production last night that included 2 WCF services and a web application front end. I worked out of a branch called "prod" because the application is brand new and has never seen the light of day. Now that the project is live, I need to branch off the prod branch for features, bugs, etc...

So what is the best way to do this?

Do I simple create a new branch and sort of archive the old branch and never use it again?

Do I branch off and then merge my branch changes back into the prod branch when I want to deploy to production?

And what about the file and assembly version. They are currently at 1.0.0.0. When do they change and why? If I fix a small bug, which number changes if any? If I add a feature, which number changes if any?

What I am looking for is what you have found to be the best way to efficiently manage source control. Most places I have worked always seem to bang heads with the source control system in on way or another and I would just like to find out what you have found that works the best.

View 6 Replies


Similar Messages:

Installation :: Cant Find Source Control Explorer?

Mar 23, 2010

how to get source control explorer in visual studio 2008 team edition.i followed this ... View > Other Windows > but i cant find source control explorerI have downloaded SVN .tortoise svn me how to use as well, any articles for that..

View 2 Replies

Forms Data Controls :: Couldn't Find Graph In Environment

Feb 21, 2011

in developing charts(graphs in vb.net with asp.net ), i am not finding graph controls in my environment.

View 1 Replies

C# - Which Is More Efficient For Rendering A Server Control

Feb 4, 2010

I am outputting the entire HTML for my server control as follows:

public override void Render(HtmlTextWriter output)
{
output.Write(myStringBuilder.ToString());
}

myStringBuilder is a StringBuilder object that is manually built in a separate private method.Is this an efficient way to do it? Or is it better to pass the HtmlTextWriter to my private method and make multiple calls to HtmlTextWriter.Write()?

View 1 Replies

C# - Efficient Gridview Paging Without Datasource Control?

Mar 25, 2010

I am trying to do efficient paging with a gridview without using a datasource control. By efficient, I mean I only retrieve the records that I intend to show.I am trying to use the PagerTemplate to build my pager functionality.In short, the problem is that if I bind only the records that I intend to show on the current page, the gridview doesn't render its pager template, so I don't get the paging controls.It's almost as if I MUST bind more records than I intend to show on a given page, which is not something I want to do.

View 1 Replies

Source Control / Checked Out Codeplex And Thats Really For Open Source Projects?

Feb 15, 2010

I couldn't decide where would be the most apprioate. I looking for an online source control site, if such a thing exists? I've checked out codeplex and thats really for open source projects ? which this isn't. does anyone have a recommendations?

View 4 Replies

How To Find Source Of Submit Using JavaScript

Apr 1, 2010

I have a form in which i have written onSubmit calling a javascript function. in that javascript function how can i check that who was the event generater ( i mean on which button click this even raised)..

Note: onsubmit function call is in form tag..

i am using JavaScript and asp.net

My code is like this:

[code]...

i dont want to change any functionality.. i have got a dropdownlist which is causing postback.. i want that when this dropdownlist raise post back either i should know that its raised by dropdownlist or that function should not be called by dropdownlist's postback

View 3 Replies

VS 2008 - Trying To Find Source Of Exception

Dec 20, 2011

My exception handler is written like so:

Code:
Try
LoggerWrite("EX - Message: " & Ex.Message.ToString, "ErrorLog")
Dim myDE As DictionaryEntry
If Ex.Data.Count > 0 Then
For Each myDE In Ex.Data
LoggerWrite(" EX DictionaryEntry: Key = " & myDE.Key.ToString & " Value = " & myDE.Value.ToString, "ErrorLog")

[code]....

The user is getting a 500 internal error occurred. What he is trying to do is create a datagrid. The error only happens when there are a lot of data used to build the grid. But why exactly is it too much data? And can I increase a buffer or set something in a config file to allow all the data? The data come from a web service.

View 11 Replies

ReportViewer Cannot Find Data Source Remotely?

Feb 12, 2010

this is the first time I have tried this so I am probably missing something that is staring me right in the face.

I have an ASP.NET page where the user fills in a request which then emails a PDF rendered from a ReportViewer instance.

It all works fine when I run it locally through the ASP.NET localhost but when I try and run it of the webserver it fails with the following message:

An error has occurred during report processing.Cannot create a connection to data source 'DataSource1'.

I can preview the report via the web based report manager via http://servername/reports which works without any problem and using the report editor in VS2005.

I suspect it is something to do with the credentials but I am at a loss. The data source is set with a username and password but this is saved within the datasource.

View 1 Replies

Visual Studio :: Intellisense Can't Find The Source Files For BIN Referenced Assemblies

Mar 23, 2010

When I use Project Reference to add dependent assemblies to my C# library project, I can use the "Go To Definition" popup menu item to go to the source file of the class defined in the dependent assembly. That is one of the most useful features of VS for me. However, when I add dependent assemblies as BIN References (via the Browse tab of the Add Reference dialog), I only get the class definition generated from metadata of the dependenat assembly, not the source file.

I realize that intellisense can't find the source directory of the dependent assembly, but where can I enter the directories so intellisense would know? There is a "VC++ Directories" page in the Options->Projects and Solutions dialog, but that is only for C/C++ projects. There should be one for C# as well. The bigger mystery is when I put my project in the debugger, I can step into methods defined in the dependent assembly and see its source file. Why could the debugger find the source file but not intellisense?

View 2 Replies

Web Forms :: Menu Control - Small Hyperlink Area In Firefox And Chrome

Feb 16, 2010

I am having an issue with the hyperlinks that are created as part of a horizontal menu control. You have to position the cursor in a very narrow range near the very top of the menu option to find the hyperlink associated with that menu option. This is only the case with Firefox and Chrome. You can try it for yourself at [URL] Try clicking any one of the horizontal menu options ("Services" for example. You will see that it is very particular where it will allow you to click to activate the hyperlink. Markup:

[Code]....
Skin:

[Code]....
CSS:

[Code]....

View 2 Replies

C# - Picking A Server Control Depending On Environment?

Aug 4, 2010

I have an aspx page that references a server control from an assembly and lives in Sharepoint (knowledge/experience in Sharepoint is not required to answer this question, i'm simply giving you context). The implementation looks something like this:

<%@ Register TagPrefix="wc" Assembly="Test.Controls" Namespace="Test.Controls" %>
<wc:WYSIWYG runat="server"></wc:WYSIWYG>

I can NOT change the .aspx page's content which currently lives in Sharepoint and I have to to take the same code and run it outside of Sharepoint but still on an ASP.NET environment. It's cool and crazy at the sametime, I know.

When this aspx page is running in Sharepoint, I have to get the WYSIWYG editor control to use Sharepoint's WYSIWYG control. When the same aspx page is running outside of Sharepoint but still in an ASP.NET environment, I need it to use a different server control that's not dependent/from Sharepoint. How could I modify the code-behind to perform this toggling? Is this even possible?

View 1 Replies

Web Forms :: Find Control In LoginView / Find The Controls In Code Behind?

Mar 8, 2011

I want to change the text of the user name text box which is inside a log in view on selected index chaged event of a drop down list.

this is my code:

[Code]....

but both ddl and tb are null

Anyone knows how can I find the controls in code behind?

View 1 Replies

Web Forms :: Resize Small And Large Images To Match The Height And Width Of Image Control

Aug 18, 2012

In my Web page,I have a Div section with height=302PX and width=302PX.

In another page,I had a File Upload control. When we will upload the image,then the image will be displayed in that Div section.

1.When the image is large,it should be re-size and display in that particular Div section completely.

   For Eg:The image size like 350PX*350PX and 1024PX*1024PX, it should be re-size to Div Section size has 302PX*302PX.

2.When the image is Small,it shouldn't be re-size and display in that particular Div section completely.

   For Eg:The image size like 50PX*50PX,100PX*100PX and 302PX*302PX ,it shouldn't be re-size and display in that Div section.

   For Eg:The image size like 15PX*15PX these will appear very small.But When uploading the file these images also should displayed completely with as it is  in that  Div section.But the image will displayed neatly.

3.If there are any tools for these type of conditions using ASP.Net.

View 1 Replies

AJAX :: How To Use Mocdalpopup Control Under Visual Studio 2008 Environment

May 14, 2010

How to use or implement ajax mocdalpopup control in asp.net under visual studio 2008 enviornment.

View 3 Replies

In "Configure Data Source" After Choose "Parameter Source :Control" All ControlIDs Are Duplicated?

Jan 5, 2010

I don't know it happen just to me or Others have the same situation too . All the time when i bind a DataControl to an ObjectDataSource in "Configure Data Source" wizard of ObjectDataSource,when i set parameter source as "Control" in "ControlId" DropdownList there are TWO Item of every control in the WebForm , while it make sense be one.

View 2 Replies

Web Forms :: If Label Property Is Set To Visible = "False", Then Can It Be Find In View Source Of Browser ?

Feb 18, 2011

I have a label1 in my aspx page, which property is set to visible = "False".

In the view source of the browser i cant able to find that label1.But using some other third party tool like "Burp Suite" etc ...

Can those label1 value could be seen or not using tools like "Burp Suite" etc ?

View 3 Replies

Configuration :: Error 1 Could Not Open Source File: Could Not Find File 'C:11-22 EstobjDebugCSAutoParameterize RansformedWeb.config'. 0 0 Test

Nov 24, 2010

I have built an ASP.NET (.NET v4) application in VS 2010. It is working just fine. But when I try to create deployment package (so I can deploy it in our test IIS 7.5 Server), it gives me error like this,

Error 1 Could not open Source file: Could not find file 'C:11-2 estobjDebugCSAutoParameterize ransformedWeb.config'. 0 0 test

Thing is in past, I had deployed the SAME application using the SAME method.

View 2 Replies

AJAX :: Control Canot Be Created Because Visual Studio Cannot Find The Control's Type In The Control?

Apr 15, 2010

i have problem in using ajax control , till morning it everything was file , now when i add any new ajax control it shows the error Control canot be created because visual studio cannot find the control's type in the control assembly then if i press OK it says The operation could not be completed . invalid FORMATETC structure

View 5 Replies

AJAX :: Execute A Small Script At The Startup Or "onShow" Event Of User Control?

Jul 21, 2010

I have a user control that is supposed to call a javascript function at startup, where exactly should I put my javascript function and how should I call it when the Control Is shown to the user.

View 13 Replies

C# - Most Efficient Way To Get The <title> Of A URL?

May 24, 2010

It's simple to do a webrequest, get the page and parse the html to get the title of the page. But I'm wondering if there is a more efficient way that is faster, and doesn't require downloading the whole html?

View 2 Replies

C# - More Efficient Database Access?

Jan 16, 2011

I am new to databases and linq, so my problem may be considered trivial. I currently start all my db requests in each class with:

DataClassesDataContext db = new DataClassesDataContext()


Then I proceed to make whatever linq request I need within the method and carry on with the main application logic.

Now, two interesting queries:

1) I believe I have seen people wrapping db usage within 'using'. Such as:

using (DataClassesDataContext db = new DataClassesDataContext())
{
...
}

If this is correct, then doesn't it mean that my class can't use a member 'db' variable anymore, but rather those db requests need to be made within each function call? Also, what exactly would happen if I don't use 'using' within the calls?

2) Running my app with SQL Profiler enabled, I see lots of connections opening and closing. Does this means that each

DataClassesDataContext call makes a separate connection? It seems inefficient, so is the right way to actually make the DataClassesDataContext object a static within each class being used?

View 2 Replies

VS 2008 What's The Most Efficient Way To Sort A Gridview(vb.net)

Oct 28, 2010

What's the best way to do this? I have seen quite a few examples that use a Dataview etc. what is the best method. I'm thinking about speed issues when a grid has a few thousand records etc.

this is how I populate the gridview:

Code:

[code]....

View 5 Replies

VS 2008 Efficient Listview Sorting?

Jan 29, 2011

I have a requirement where 15 listviews have to be loaded on a web page.But only one shown at a time. Number of columns will be only 2 for each and Number of rows for every listview is very limited.The thing I am not able to decide is the sorting method.1. If I am using the datasource control, it automatically sorts my listview.2. If I am programmatically populating listview , I will have to sort my datatable and rebind to the listview.To use the second method I have to store the datatables in sessions.So taking that into consideration, will datasource control be more efficient ?

View 4 Replies

Most Efficient Endless Loop In C# (carousel)

Jan 19, 2011

Assuming a list of objects, each with an ID, what's the most efficient way of building a carousel, so that each object knows what its previous and next item is. The Last Item's previousId will link to the first item. The first item's previousId will link to the last.

I need the ID of the previous and the ID of the next, as this will be used to populate next and previous buttons on a web page.

I know I could iterate over them, adding placeholders for _next and _prev id, but what's the most efficient way to do this?

I figure my object should look like this:

class Item {
public int Id { get; set; }
public string ItemName { get; set; }
public int Next { get; set; }[code]....

I think I'm looking at this wrong way. Is there a better way of doing this?

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved