Giter Club home page Giter Club logo

closdotnet's Introduction

Setup

  1. Install VS 2013.

Oracle

  1. Install ODT with ODAC 12c.

2.1. Grant role as follows.

GRANT CHANGE NOTIFICATION,
    CREATE JOB,
    CREATE PROCEDURE,
    CREATE PUBLIC SYNONYM,
    CREATE ROLE,
    CREATE SESSION,
    CREATE TABLE,
    CREATE VIEW,
    DROP PUBLIC SYNONYM,
    CONNECT,
    RESOURCE
  TO ASPNET_DB_USER;     
  1. Set PATH and TNS_ADMIN. If actual DB and client are in same machine, values as follows:

Required by Toad and VS.

PATH = C:\App\Oracle\Database\user\product\12.1.0\client_1

Required by listener service.

TNS_ADMIN = C:\App\Oracle\Database\user\product\11.2.0\dbhome_1\NETWORK\ADMIN

MSSQL

  1. Install MSSQL Express.

  2. Create Database=CLOSDB and User=clos.

  3. Run the C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regsql.exe. Follow the steps with the following connection settings:

Server: QCOLIVEROS\SQLEXPRESS
Username: clos
Password: clos
Database: CLOSDB
  1. Change the connection string for LocalSqlServer in C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config:
connectionString="Data Source=.\SQLExpress;Initial Catalog=CLOSDB;Persist Security Info=True;User ID=clos;Password=clos"
  1. Setup users and roles using webadmin.

8.1. Firefox settings (1 time):

8.1.1. Open up Firefox and type about:config in URL.

8.1.2. Find the Filter Type in network.automatic-ntlm-auth.trusted-uris.

8.1.3. Double click network.automatic-ntlm-auth.trusted-uris and type in localhost then hit enter.

8.2. Open cmd and run the following:

"C:\Program Files\IIS Express\iisexpress.exe" /path:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\ASP.NETWebAdminFiles" /vpath:"/ASP.NETWebAdminFiles" /port:8082 /clr:4.0 /ntlm

8.3. In Firefox, type the following in URL:

http://localhost:8082/asp.netwebadminfiles/default.aspx?applicationPhysicalPath=C:\Workspace\Integro\project\dotNet\ClosDotNet\ClosDotNet&applicationUrl=/

8.4. Create users and roles.

Note: Switch between version:
  1. To switch between version, click Tools > Options > Database Tools > Data Connections > SQL Server Instance Name. The default for VS2013 is (LocalDB)\v11.0, change it to SQL Server 2014 Express to as (LocalDB)\MSSQLLocalDB.

VS

  1. Create a Project: MVC + Web Api + Web Form.

  2. Install the following packages:

    • Common.Logging.Log4Net
      Install-Package Common.Logging.Log4Net1211 -Source nuget.org
      
    • Spring.Data.NHibernate4
      Install-Package Spring.Data.NHibernate4 -Source nuget.org
      
    • Spring.Web.Mvc4
      Install-Package Spring.Web.Mvc4 -Source nuget.org
      
    • AutoMapper
      Install-Package AutoMapper -Version 3.3.1 -Source nuget.org
      
    • Grid.MVC
      Install-Package Grid.Mvc -Version 3.0.0 -Source nuget.org
      
    • Bootstrap.Datepicker
      Install-Package Bootstrap.Datepicker -Source nuget.org
      
    • NHibernate.AspNet.Identity
      Uninstall-Package Microsoft.AspNet.Identity.EntityFramework
      Uninstall-Package EntityFramework
      Install-Package NHibernate.AspNet.Identity -Source nuget.org
      
    • foolproof
      Install-Package foolproof -Source nuget.org
      
    • WorkflowEngine.NET-ProviderForMSSQL
      Install-Package WorkflowEngine.NET-ProviderForMSSQL -Source nuget.org
      Install-Package WorkflowEngine.NET-Designer -Source nuget.org  
      
  3. Add reference to the following:

    • Framework > System.Transactions

    For Oracle

    • Extensions > Oracle.DataAccess

      In VS, select the DLL > Right click it > In the Properties grid, select Copy Local = True

closdotnet's People

Contributors

qcoliveros avatar

Stargazers

 avatar

Forkers

papyr

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.