Giter Site home page Giter Site logo

rd003 / moviestoremvc Goto Github PK

View Code? Open in Web Editor NEW
31.0 1.0 19.0 558 KB

Learn to build a project in dot net mvc (6/7/8) from scratch with authentication,file handling, searching,pagination and so on

C# 72.61% HTML 18.28% CSS 9.07% JavaScript 0.04%
dotnet-core dotnet6

moviestoremvc's Introduction

MovieStoreMvc

Now upgraded to .net 8.0

How to run it

  1. clone the project git clone https://github.com/rd003/MovieStoreMvc.git

  2. open appsettings.json file and update connection string's data source=your server name

     "ConnectionStrings": {
           "conn": "data source=your_server_name;initial catalog=MovieStoreMvc; integrated security=true;encrypt=false"
      }
    
  3. Delete Migrations folder

  4. Open Tools > Package Manager > Package manager console

  5. Run these 2 commands

     (i) add-migration init
     (ii) update-database
    
  6. Now you can run this project

How to Register as a admin and login?

  1. There is a controller UserAuthentication and a commented method Register. Uncomment the Register method
  2. Run the project and hit the url https://localhost:7095/UserAuthentication/Register. You will be registered as a admin. Now you can re comment the register user (for privacy).
  3. Now you can login with credentials Username: admin, password: Admin@123

moviestoremvc's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

moviestoremvc's Issues

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.