banner



How To Create A Blog Using Asp Net Mvc

Introduction and Background

I don't want to speak too much in this piece of article, instead I just want to demonstrate the presentation that I have to make today. This article is a short piece of "long report" that can be considered as an answer to most common question, "How to create a blog in ASP.NET?"

Well, I find it most compelling that most people are unaware of what a blog itself is, because if they knew they could just play around with ASP.NET to build one for themselves in a night or two. In this article I will discuss a few steps that are needed to be followed while creating your own blog. I am not a good designer, so please forgive the most annoying design that you are going to witness in coming sections. But I promise I will give you an overview of a "blog in ASP.NET". The facts that I will talk about, or the reason that you should read this article is that this article is not a "specific" how to for my own procedures. Instead, I am writing this article to give you a brief overview of what a blog is, what ASP.NET has in it for you, how you can create it and not just that, but also, how you can create a blog with all that you have. In most cases, you just have a small area for hosting with less HDD space and no database. I will cover what to do in such cases too. Just read the post.

To add some "content" I wrote a Windows 10 client application to consume the blog posts through ASP.NET Web API. I am sure in most cases this Web API thing for ASP.NET blog posts would interest you.

What is a blog, anyways?

Putting the content here simple, a blog is a place where you can share, what you want, anytime you want, with anyone you want! That is a general type of blog being used. Blog is a short form for weblog (logging, makes sense?). More specific types of blogs come depending on your content. Some of blog categories are as below:

  1. Microblogs

    Compact and straight-forward blogs. 140 characters beast, Twitter, is an example of this type.

  2. Personal blogs

    Anyone can create them and they are very much personal, demonstrating only one person. Your website can be your personal blog.
  3. Media blogs

    You can share the images, videos and other multi-media content in media blogs.

So basically a blog is just a website for sharing the content. If you ever created an online website for sharing the content, current work information, regular "diary", then you have already worked on developing a personal blog. Blog is just a term given to online log system, where you can "log" your regular discussion topics.

So, in this article post I am going to cover a basic application that can act as a blog for someone. As an additional support I will also give you an idea of using ASP.NET's Web API to promote your blog on native applications, such as a native Windows 10 application that loads the content from your only blog and display the blog posts to users natively.

Getting started with ASP.NET

Since most of the readers are currently not upgrading themselves to ASP.NET MVC 6, I will use ASP.NET MVC 5 (not ASP.NET 5) to show you how to do it. Things are very much similar in ASP.NET MVC 5 and ASP.NET MVC 6. The common things that I have found to change in the coming versions is that ASP.NET is now cross-platform, so if you continue to write the same application by following my article, in ASP.NET MVC 6, you will be able to run it on a server in Ubuntu, or Mac and so on. But that is not a big deal here, is it?

I will be using ASP.NET MVC 5 (not ASP.NET 5!) to demonstrate how to build your own ASP.NET personal blog. But before I get Visual Studio started, I wanted to explain the term "customizable", which is used in the title of my current article. By the term "customizable" I mean,

  1. A blog that is entirely flexible. You can integrate plugins, or update the theme and so on.
  2. A blog that doesn't rely on a specific third-party framework, even a data source.
  3. A blog that is built just on top of ASP.NET assemblies and doesn't require you to do anything at all.
  4. A general blogging platform, which can be then altered to create,
    1. Social blogging service.
    2. Personal CV house
    3. Your own website to demonstrate your services
    4. So on and so forth.

In simple, the blog can be altered to your own needs and requirements. After all an ASP.NET blog is just an ASP.NET web application that you have modified to suit your own needs.

At this stage I would ask you to create a new ASP.NET project in your own machine, in the next section I will continue with the next things, like create controllers, defining the Views and so on. So, it would be good for you to create a new project at this moment and continue with the article next.

Building the application

First of all, I would like to share how I actually built the ASP.NET web application to be able to host my blog. I am going to use a web interface and an API interface, to be able to consume the blog from multiple native applications. So, I will talk about the ASP.NET programming in this section and then I will talk about the Windows 10 application programming, to actually consume the blog posts and show it to the users in a "native experience".

Web interface controller

First of all, I will consider building the web interface to be able to showcase the blog on the internet, using a browser. This is what ASP.NET was initially developed for. To build web sites, and web applications. Web applications were introduced a bit later and then was introduced the Web API and so on. So, I am going to use the very basic concepts of ASP.NET MVC to build a simple web application that can "act" as a blog.

If you are novice to ASP.NET, because most of the times the question (in the title) is asked by a beginner in ASP.NET, so if you have no idea about ASP.NET, please read the previous posts of mine that cover ASP.NET in a great detail and would help you in understanding and learning every bit of ASP.NET programming, as from a beginner's perspective.

  1. Understanding ASP.NET MVC using real world example, for beginners and intermediate.
  2. Novice to MVC? Read this, (ASP.NET MVC is implementation of MVC pattern of software development, this post talks about MVC not ASP.NET MVC).

I will continue to share more of my articles and posts, as the topic proceeds. I would recommend that you read the above posts if you are new to ASP.NET, most of the concepts like Controller, Views and Models may cause a confusion to you, if you are a newbie!

Almost there

I am very much fan of JSON data, I prefer using JSON over SQL databases and thus I am a fan of Newtonsoft.Json library. So, please consider installing the library before moving further. This library would be the backbone for our data source.

PM> Install-Package Newtonsoft.Json -Version 7.0.1

Once this package gets installed, please continue to the next section.

1. Build the model for application

In my case, I always prefer building the models first. This gives me an idea of building the controllers and then building the views for the application. So, I would also give you a tip, to always build the models, data structures first and then continue to build the rest of the stuff.

The model we need is just a model for the blog post. So, the structure would just be as easy as the following,

  1. using  System;
  2. using  System.Collections.Generic;
  3. using  System.Linq;
  4. using  System.Web;
  5. using  System.IO;
  6. using  Newtonsoft.Json;
  7. namespace  PersonalBlogTemplateWithServices.Models
  8. {
  9. public class  BlogPostModel
  10.      {
  11. public int  ID { get ; set ; }
  12. public string  Title { get ; set ; }
  13. public string  Content { get ; set ; }
  14. public  List< string > Tags { get ; set ; }
  15. public  DateTime CreateTime { get ; set ; }
  16.       }
  17. public class  PostManager
  18.       {
  19. private static string  PostsFile = HttpContext.Current.Server.MapPath( "~/App_Data/Posts.json" );
  20. private static  List<BlogPostModel> posts = new  List<BlogPostModel>();
  21. public static void  Create( string  postJson)
  22.           {
  23.               var obj = JsonConvert.DeserializeObject<BlogPostModel>(postJson);
  24. if (posts.Count > 0)
  25.               {
  26.                   posts = (from postin  posts
  27.                            orderby post.CreateTime
  28.                            select post).ToList();
  29.                   obj.ID = posts.Last().ID + 1;
  30.               }else
  31.               {
  32.                   obj.ID = 1;
  33.               }
  34.           }
  35.           posts.Add(obj);
  36.           save();
  37.       }
  38. public static  List<BlogPostModel> Read()
  39.       {
  40. if (!File.Exists(PostsFile))
  41.           {
  42.               File.Create(PostsFile).Close();
  43.               File.WriteAllText(PostsFile,"[]" );
  44.           }
  45.           posts = JsonConvert.DeserializeObject<List<BlogPostModel>>(File.ReadAllText(PostsFile));
  46. return  posts;
  47.       }
  48. public static void  Update( int  id, string  postJson)
  49.       {
  50.           Delete(id);
  51.           Create(postJson);
  52.           save();
  53.       }
  54. public static void  Delete( int  id)
  55.       {
  56.           posts.Remove(posts.Find(x => x.ID == id));
  57.           save();
  58.       }
  59. private static void  save()
  60.       {
  61.           File.WriteAllText(PostsFile, JsonConvert.SerializeObject(posts));
  62.        }
  63.     }
  64. }

In the model , I have the following attributes that can be used to identify or describe the blog post at the instance.

  1. ID
  2. Title
  3. Content
  4. Tags (is an array; List)
  5. CreateTime (used to sort the items)

Great, we now have a model, and now we can continue to write the rest of the logic for our application. The model implements the CRUD functions, that we can call from external objects, from both, web interface and from Web API interface. This would allow us to manage the data layer in this class.

2. Creating the controller

Alright, first of all, create the controller. The controller would have the actions that we need to perform in our blog. Please pay attention to the following code:

  1. using  System;
  2. using  System.Collections.Generic;
  3. using  System.Linq;
  4. using  System.Web;
  5. using  System.Web.Mvc;
  6. using  PersonalBlogTemplateWithServices.Models;
  7. using  Newtonsoft.Json;
  8. namespace  PersonalBlogTemplateWithServices.Controllers
  9. {
  10. public class  BlogController : Controller
  11.     {
  12. public  ActionResult Index()
  13.         {
  14.             var blogs = PostManager.Read();
  15. if  (blogs == null )
  16.             {
  17.                  ViewBag.Empty =true ;
  18. return  View();
  19.             }
  20. else
  21.             {
  22.                  blogs = (from blogin  blogs
  23.                           orderby blog.CreateTime descending
  24.                           select blog).ToList();
  25.                  ViewBag.Empty =false ;
  26. return  View(blogs);
  27.             }
  28.         }
  29.         [Route("blog/read/{id}" )]
  30. public  ActionResult Read( int  id)
  31.         {
  32.             var blogs = PostManager.Read();
  33.             BlogPostModel post =null ;
  34. if (blogs != null  && blogs.Count > 0)
  35.             {
  36.                 post = blogs.Find(x => x.ID == id);
  37.             }
  38. if (post == null )
  39.             {
  40.                 ViewBag.PostFound =false ;
  41. return  View();
  42.             }else
  43.             {
  44.                 ViewBag.PostFound =true ;
  45. return  View(post);
  46.             }
  47.         }
  48. public  ActionResult Create()
  49.         {
  50. if  (Request.HttpMethod == "POST" )
  51.             {
  52.                  var title = Request.Form["title" ].ToString();
  53.                  var tags = Request.Form["tags" ].ToString().Split( new char [] { ','  }, StringSplitOptions.RemoveEmptyEntries);
  54.                  var content = Request.Form["content" ].ToString();
  55.                  var post =new  BlogPostModel { Title = title, CreateTime = DateTime.Now, Content = content, Tags = tags.ToList() };
  56.                  PostManager.Create(JsonConvert.SerializeObject(post));
  57.                  Response.Redirect("~/blog" );
  58.             }
  59. return  View();
  60.         }
  61.         [Route("blog/edit/{id}" )]
  62. public  ActionResult Edit( int  id)
  63.         {
  64. if (Request.HttpMethod == "POST" )
  65.              {
  66.                  var title = Request.Form["title" ].ToString();
  67.                  var tags = Request.Form["tags" ].ToString().Split( new char [] { ','  }, StringSplitOptions.RemoveEmptyEntries);
  68.                  var content = Request.Form["content" ].ToString();
  69.                  var post =new  BlogPostModel { Title = title, CreateTime = DateTime.Now, Content = content, Tags = tags.ToList() };
  70.                  PostManager.Update(id, JsonConvert.SerializeObject(post));
  71.                  Response.Redirect("~/blog" );
  72.              }else
  73.              {
  74.                  var post = PostManager.Read().Find(x => x.ID == id);
  75. if  (post != null )
  76.                  {
  77.                      ViewBag.Found =true ;
  78.                      ViewBag.PostTitle = post.Title;
  79.                      ViewBag.Tags = post.Tags;
  80.                      ViewBag.Content = post.Content;
  81.                  }
  82. else
  83.                  {
  84.                      ViewBag.Found =false ;
  85.                  }
  86.              }
  87. return  View();
  88.          }
  89.     }
  90. }

The above code, is enough! This code contains the code that you may be needing. Now, I think I need to explain the code a bit.

I have implemented the CRUD functions, in this manner, I created the functions that would allow me to create a new post, read the list of posts, read a single post at the web page or perform other functions, like update the post. You can also see, that most of the codes and functions are being called from the model. That is why, I designed the model before I created the controller. I think now you understand the importance of a model before controller.

The controller would simply capture the request, extract the data from it and then pass the data and request over to the Model. The model would then perform as per our request and return a response, which can then be sent back to the client. The purpose of such a design, is to create a web application being consumed over by Web API too. In the later sections I will consider sharing that too.

Until now, the web application is able to show us messages on the blog. If we have created a post, it will show us the post otherwise it will show us a message that there is no post currently available.

3. Creating the views

Views are simple enough to be understood easily! If you have been developing using HTML, I won't explain them. If you haven't, go learn!

Default page

The default page for the blog would be simple one, it would either enlist the blog posts otherwise show a message.

For this page, I would instead show the HTML code, and for the rest of the pages I will show the images, because I want to demonstrate how to use the actions.

  1. @model List<PersonalBlogTemplateWithServices.Models.BlogPostModel>
  2. @{
  3.     ViewBag.Title ="My Blog" ;
  4. }
  5. @if (ViewBag.Message != null )
  6. {
  7.     <h4>@ViewBag.Message</h4>
  8. }
  9. @if (Model == null  || Model.Count == 0)
  10. {
  11.     <h4>Blog empty</h4>
  12.     <p>Either under development, or authoris  busy. Visit back again later! :-)</p>
  13.     <a href="~/blog/create" >Create new  post</a>
  14. }
  15. else
  16. {
  17.     <h4>My blog</h4>
  18.     <p>Read my blog posts below...</p>
  19.     <a href="~/blog/create" >Create new  post</a>
  20. foreach  (var post in  Model)
  21.     {
  22. int  tagIndex = 1;
  23.        <h4><a href="~/blog/read/@post.ID" >@post.Title</a></h4>
  24.        <p>
  25.        @foreach  (var tag in  post.Tags)
  26.        {
  27. if (tagIndex == post.Tags.Count)
  28.            {
  29.                <spanclass = "tag" ><a href= "~/blog/tag/@tag" >@tag</a></span>
  30.            }
  31. else
  32.            {
  33.                <spanclass = "tag" ><a href= "~/blog/tag/@tag" >@tag</a></span>
  34.            }
  35.            tagIndex++;
  36.        }
  37.        </p>
  38.    }
  39. }

The page uses the conditional values from the controller. You may have noticed the value from Controller, which is passed as a model (of type of the BlogPostModel). I have checked against that, to see if there are any posts in the data source. That is pretty much simple and straight-forward. The main thing to see, if what happens if there is a new post in the data source. Consider the next section, please!

Creating the post

When you create a new post, you follow the hyperlink, which takes you to a page where you have created a form and so on. I am not much a designer-type, so the UI is very ugly. You can make it better if you want to.

The view for "C" in "CRUD, is something like this.

  1. @{
  2.  ViewBag.Title ="New Post" ;
  3. }
  4. <h2>Createnew  blog post</h2>
  5. <form method="post" >
  6.     <label>Title</label>
  7.     <input type="text"  name= "title"  style= "" class = "form-control"  placeholder= "The headline goes here..."  /><br />
  8.     <label>Tags</label>
  9.     <input type="text"  name= "tags"  style= "" class = "form-control"  placeholder= "Separate each tag using a comma ','."  /><br />
  10.     <label>Content</label>
  11.     <textarea name="content" class = "form-control"  style= "height: 300px;"  placeholder= "What would you like to write?" ></textarea><br />
  12.     <input type="submit"  style= "width: auto; font-weight: 600;"  value= "Post"  /><br />
  13. </form>

Very simple though, yet powerful! Power is in your hands. Add some, or leave it if you do not want to share the admin panel with anyone. :-) Once this page gets loaded, it takes the following web page shape.

Create a new blog post page
Figure 1: Create a new blog post page. Form is filled

The above HTML takes this shape. The HTML looks clean because of hard work of:

  1. ASP.NET team for providing a template.
  2. Bootstrap guys, Twitter bootstrap is being used here (is provided along with ASP.NET template).

You can now submit the post. Alright, until now things are pretty neat and simple. Do you have any questions? Please re-read this section.

Reviewing the default page now

If you go back to the default page now, you will see that the blog would now enlist the posts (currently only 1). The following is the image, you already have the HTML for this page.

Default page showing one blog in the list
Figure 2: Default page showing one blog in the list

Now the page is able to demonstrate that we have a post, it displays the tags and name. Nothing else. After all, why would we show anything else on the default page?

Reading the blog posts, one by one

If you could read the HTML for the default page, you will see that the title of the blog post is actually a URL to the blog post, to be read. I have created the action for that (please read the controller code for Read action). This would let us now read the content,

Reading the post
Figure 3: Reading the post, shows date time, content and tags

This is how I display the content. I agree, a very bad design. But I am very bad at designing the web applications. (I know, my first attempt went wrong because IDs were null and Ah, you get it the second time, didn't time? Quit whining!).

I used the following HTML code for this, the thing was that I just wanted to display the blog post, in a very simple way. Indeed in your case, you will write something much more useful. But, at the moment, just read this.

  1. @model PersonalBlogTemplateWithServices.Models.BlogPostModel
  2. @{
  3.     ViewBag.Title = Model.Title;
  4.     var tagIndex = 1;
  5. }
  6. <h4 style="font-weight: bold;" >@Model.Title</h4>
  7. <p>@Html.Raw(Model.Content.Replace("\r\n" , "<br />" ))</p>
  8. <p>Posted by — Afzaal Ahmad Zeeshan — on @Model.CreateTime.ToString("MMMM dd, yyyy 'at' hh:mm tt" )</p>
  9. <p>
  10.     Tagged under:
  11.     @foreach  (var tag in  Model.Tags)
  12.     {
  13.         <spanclass = "tag" ><a href= "~/blog/tag/@tag" >@tag</a></span>
  14. if  (tagIndex == Model.Tags.Count)
  15.         {
  16.             <span><a href="~/blog/edit/@Model.ID" >Edit</a></span>
  17.         }
  18.         tagIndex++;
  19.     }
  20. </p>

So, this code would give us the post. I have many things hardcoded, like, "Posted by &mdash; Afzaal Ahmad Zeeshan &mdash; on {Date Time}". You can change it, to see who is the author and so on. There are many other things to be taken care of.

One thing to understand is that your HTML is not the same that gets saved in the data source. So, you might need to re-consider the HTML, then render it using Html.Raw function. Have a look at the following code, for example,

  1. <p>@Html.Raw(Model.Content.Replace( "\r\n" , "<br />" ))</p>

Now, each of the occurrence of "\r\n" would be replaced with the break line object in HTML. This way, you can re-build the HTML and show it as plain text on the HTML web page.

Updating the posts

The final concept that I will be talking about here would be of updating the posts. Updating is similar to creating the new post, but just that you also provide the previous data that you are having. Title, content and other stuff can be provided and then user is allowed to update them as required and then you save it back to the data source.

I have used the same HTML form in this case,

  1. @{
  2.  ViewBag.Title ="Edit the post" ;
  3.  var tags =string .Join( ", " , ViewBag.Tags as  List< string >);
  4. }
  5. <h2>Edit the post</h2>
  6. <form method="post" >
  7.     <label>Title</label>
  8.     <input type="text"  name= "title"  style= "" class = "form-control"  value= "@ViewBag.PostTitle"  placeholder= "The headline goes here..."  /><br />
  9.     <label>Tags</label>
  10.     <input type="text"  name= "tags"  style= "" class = "form-control"  value= "@tags"  placeholder= "Separate each tag using a comma ','."  /><br />
  11.     <label>Content</label>
  12.     <textarea name="content" class = "form-control"  style= "height: 300px;"  placeholder= "What would you like to write?" >@ViewBag.Content</textarea><br />
  13.     <input type="submit"  style= "width: auto; font-weight: 600;"  value= "Post"  /><br />
  14. </form>

This is similar to what we had previously. But it renders along with the previous data we had.

HTML page
Figure 4: HTML page showing the form to edit the previously updated post

As you can see, the post contains the previous data, but also allows me to update the post. This is useful, in cases when you want to update the post. I am adding a new paragraph line, which would then be rendered as it is being written.

Tip: This is not WYSIWYG editor, just a plain-text area. You should get a WYSIWYG editor if you want to be able to use the full power of HTML in your post.

Now, once I will submit this, it would get published as this version. Please revise the controller action,

  1. if  (Request.HttpMethod == "POST" )
  2. {
  3.     var title = Request.Form["title" ].ToString();
  4.     var tags = Request.Form["tags" ].ToString().Split( new char []
  5.     {
  6. ','
  7.     }, StringSplitOptions.RemoveEmptyEntries);
  8.     var content = Request.Form["content" ].ToString();
  9.     var post =new  BlogPostModel
  10.     {
  11.         Title = title, CreateTime = DateTime.Now, Content = content, Tags = tags.ToList()
  12.     };
  13.     PostManager.Update(id, JsonConvert.SerializeObject(post));
  14.     Response.Redirect("~/blog" );
  15. }

This demonstrates, how you will update the post. Once again, we are using PostManager, the object we created in our model to be able to perform the actions. The post is now updated, have a look at the revisit to the post preview.

Updated post preview
Figure 5: Updated post preview

This now shows the updates being made. It is also clear as to how the new line is added to the post. Pretty simple it was, but I wanted to demonstrate the concept of this too.

Adding new posts

One more thing is, to add new posts. This is same, requires just a view. I am about to give you an overview of adding new posts, multiple posts and how does this preview them on the default page.

Creating a new blog post, second one
Figure 6: Creating a new blog post, second one

This is similar, the only thing to understand is how it is rendered on the blog.

Two posts being previewed
Figure 7: Two posts being previewed

The thing that I wanted to share here, is that ASP.NET won't automatically sort the posts, you would have to do that yourself. If you pay attention to the LINQ code, you will understand it.

  1. blogs = (from blogin  blogs
  2.          orderby blog.CreateTime descending
  3.          select blog).ToList();

This would now sort the blogs, a descending order. That is why, "Two posts" shows above, whereas in the JSON data it would come after the "First blog post!" But we have now sorted the list as per our requirements.

Heading over to Windows 10 application and Web API

Before I actually head over, I want to make a final post that would be read in the application! Please see the following image, then we continue to the next section.

Final post online
Figure 8: Final post online

Web interface has been discussed enough, the next sections will talk about the Web API and Windows 10 application programming.

Further reading:

If you want to get more in-depth information, please read the following documents and articles.

  1. A tip for ajax developers in ASP.NET MVC framework
  2. Getting Started with LINQ in C#

Web API and Windows 10 client application

In this section, I will first talk about the ASP.NET Web API and then I will build the application to consume the API and show the blogs. In the client application, we do not need any functions, like create, update etc. We just consume and display the data, so the client application won't have enough functions but it would display the content.

Building the API

Actually, the API is simple and does not need anything to be done! The application has already been completed, so our API would only redirect to the application and load the data from the model and return it. API does not need to have any HTML data or CSS stylesheets, instead API just returns the data in JSON or XML format. I personally recommend and always will recommend using JSON. XML is a very heavy format and is also not efficient. JSON is much simple, lightweight and portable format!

The API is just a controller, with the same actions that we need and a return-type. Since we do not need any functions but C (from CRUD), I defined the API to be as simple as,

  1. using  Newtonsoft.Json;
  2. using  PersonalBlogTemplateWithServices.Models;
  3. using  System;
  4. using  System.Collections.Generic;
  5. using  System.Linq;
  6. using  System.Net;
  7. using  System.Net.Http;
  8. using  System.Web.Http;
  9. namespace  PersonalBlogTemplateWithServices.Controllers
  10. {
  11. public class  BlogApiController: ApiController
  12.     {
  13.         [HttpGet]
  14.         [Route("blog/api" )]
  15. public  List < BlogPostModel > Get()
  16.         {
  17. return  PostManager.Read();
  18.         }
  19.     }
  20. }

Small, but enough.This would let us consume the API from our client application. There is also no need to edit the API configuration, because I have provided the Routing scheme to the function.

  1. [Route( "blog/api" )]

This would automatically get routed to this URL. The rest of the functionality is to be provided by the application.

One thing to note, is that this function again, reads the data from the model and returns is, as a collection. This would then be translated as JSON data later. So our application will be able to use the JSON converters to get the data from the API and render it on the application.

I hope things for API are clear upto this stage! If not, please re-read. I think the post is pretty much simple.

Building the client application; Windows 10 application

Great, until now you have learnt how to build the online blog that has a web interface and an API interface. I will continue with the next post, to teach you how to consume the API, the post has gone way more than I was expecting (it overwent 4k words).

Read the above article and leave your feedback, I would love to hear it!

Points of interest

Thank you for reading the post, I have shared a common, yet easy and simple way to build your own blog. The post contains the information that you may need to have to create your own online personal blog. I have not shared any third-party library because I want you to be able to add your own. The blog is built on top of native ASP.NET frameworks.

In a later post, I will also share the common concepts for building the data sources, so that the only dependency of "Newtonsoft.Json" would also be removed from this project. Until then, please bear with me.

One more thing, the text editor used is plain-text area, you can replace it with your favorite WYSIWYG editor to be able to use the power of HTML, then render the HTML on the screen.

In coming days, I will write two more posts:

  1. Consuming the Web API from Windows 10 application.
  2. Building your own custom data sources.

Stay tuned for more of such content!

How To Create A Blog Using Asp Net Mvc

Source: https://www.c-sharpcorner.com/UploadFile/201fc1/creating-a-customizable-personal-blog-in-Asp-Net/

Posted by: grubbsharks1988.blogspot.com

0 Response to "How To Create A Blog Using Asp Net Mvc"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel