Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to make blog site like codeproject but i don't know how to retrive code as it is paste in textbox and save that code in database and retrive as it is. and that code may be c#, html code and i want to use jquery json. anyone can tell me?
Posted
Comments
F-ES Sitecore 28-Sep-15 8:11am    
A forum is not the best place to learn things from scratch. Get books on the technology you're using and go through them. Once you understand the basics, how you complete these tasks will come to you. If you then have specific questions about specific problems you can ask.

You will build a user interface in html and then store data from this website into the database using some sort of service (REST or SOAP).

In the Microsoft world, REST service can be a WebAPI or an MVC controller. Both provide options to save into the database.

ASP.Net MVC
ASP.NET Application Development Using MVC[^]
ASP.NET MVC3 Razor With jQuery For Beginners[^]

Web API
Enabling CRUD Operations in ASP.NET Web API 1[^]
Inserting ASP.Net Form Data Into Database Using Web API[^]
 
Share this answer
 
Please refer to this article on CP
Implement CRUD Operations using RESTful WCF Service and JavaScript[^]

This article explains easy ways to consume WCF REST services through JQuery and perform CRUD (Create Retrieve Update Delete) operations

You can also download the sample code provided and try it out yourself.
 
Share this answer
 
v2
 
Share this answer
 
how to make user interface can you please provide me code?

and i want to insert that code in database using wcf service and using jquery. plz provide me code.
 
Share this answer
 
Comments
Richard Deeming 22-Sep-15 9:00am    
If you have a question or comment, use the "Have a Question or Comment?" button under the relevant solution.

DO NOT post it as a new solution!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900