How to edit the HTML of an ASP.net site?

Assume that I’m a front-end developer (HTML, CSS)

And some one who got their website built using ASP.NET came to me and asked for a new design and I don’t know about ASP.NET.

Then, how can I change the design of their website without affecting their code?

Do I have to learn a little bit of server side languages to be able to change to the look of sites without affecting the original server code?

2

You will need to edit pages (that probably have a .aspx extension) that have both html and some server side code mixed together but you probably won’t need to change the server side piece much, maybe just where it appears. These are plain text files that you can edit with any editor, just like .html files. You may want to use an IDE or you may find it easier to just edit the pages with a basic editor for your OS platform (Notepad, emacs, textmate, vi, etc).

For example:

<html>
<head>
<title>The current time</title>
</head>
<body>
The server's current time:<br />
<%
Response.Write Now()
%>
</body>
</html>

The HTML you should be comfortable with. The stuff within the <% %>‘s is the server side code. In this case you can guess from the surrounding html code that Response.Write Now() puts out the current time.

How easy it will be overall will depend on the complexity of the site. A site with 5 pages that are all public (no login) is going to be a different case from one with role based logins and 150 different pages. If the server code just outputs a few variables that’s one thing. If you have complex pages with master-detail records and lots of Javascript and AJAX, that will be harder as the code may be more mixed in, especially in things like iterators for collections of records.

You will want to ‘see’ what the pages look like you will need to either run a local server or have a test server that you can push changes to to see their effect.

Much much more at: http://en.wikipedia.org/wiki/Active_Server_Pages

That strongly depends how the application was designed. Using a good MVC structure where all template files are excluded and it’s even using a template engine, you might not need any ASP.NET skills, but that’s the ideal world.
The worst case is that everything is inside a big spaghetti code like system, where it’S even hard to find places to change the design even when you know the programming language.

Do you know if there’s any framework or template engine in place?

1

I think the idea is all about differentiating between HTML, CSS and server side code. So, anything not HTML or CSS could be a server-side code. However, don’t forget JavaScript code as well.

Quoting from Michael Durrant “..this case you can guess from the surrounding html code that Response.Write Now() puts out the current time”. It is clear that you can sometimes know even the output of server side code depending on the surrounding HTML.

In short, try to get a page where server-side and HTML are mixed and try to change the HTML, CSS and see the result. I’m sure you’ll learn in this way.

You need to know CSS. You should read about HTML and CSS, and how to make webpages.
Start with the absolute basics, it seems that you don’t know them yet.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật