开发者

Subversion best practices, ASP.NET C# Site WebForm

开发者 https://www.devze.com 2023-02-18 01:53 出处:网络
I have one question about how to handle a webform sites, i have many sites sharing aspx.cs codes but the only diference is t开发者_如何学Che aspx and the .css and images ones, how to handle this it wi

I have one question about how to handle a webform sites, i have many sites sharing aspx.cs codes but the only diference is t开发者_如何学Che aspx and the .css and images ones, how to handle this it with svn its driving me crazy.


Hi you're question isn't totally clear, but it sounds like maybe you should be using svn externals to share the .aspx.cs (code behind) files.

You can specify the different .css files in the distinct .aspx file markup.

Using svn externals will enable you to share the code behind.

Alternatively you could explicitly specify the code behind file in your aspx markup if you only wanted to have one physical .aspx.cs file.


Im tring to use a structure with codebehind, its apers to be the best one.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号