Code Monkey home page Code Monkey logo

blog-application's Introduction

Blog Application with C# ASP.net MVC

In this simple Blog Application, there are two types of users:

  • Admin User
  • Regular Users

Admin can add, delete, and update all the users. Simple users can only view others posts while can create an account and can edit/update/delete posts written by themselves (like we all do on facebook/Instagram). They can also update their profile.


Description

When your program starts, it should provide users with options of Login and Signup. When a user is successfully logged in Home page should be shown to him. All the posts written by all the users in your database should be displayed on Home page as shown in the figure.

image

Note that On Home screen there is a button “Create Post” on the top of posts. When user click on it the following screen should be displayed.

image

After Creating a Post when user clicks on “Post” button , The data should be saved in the database and then redirect user to home screen where new post written by you along with all the previous posts are displayed. In the current Example I am logged in as Saira. Now if Saira wants to edit her post. She’ll click on her post Title and the following screen should be displayed.

image

When she clicks on delete button, the post should be deleted. When she clicks on Update, following screen should be displayed. After making changes when clicks on “Post” button, the post should be updated.

image

And the home screen will be displayed and the post should be updated there as well.

image

If she clicks on other people’s Posts, she will be provided with a screen where she can only read their post in detail but cannot edit/delete it as shown below. Only the author of the post should delete the post.

image

blog-application's People

Contributors

umairmubasher avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.