Admin, DEPLOYMENT in C# .Net

Not Admin

Else

{

Message  box. show(“not Admin”);

new form().show ();

}

 

Obs:-

Execute the project then roles.Exe will be created under D:\c194\Roles\bin\debug.

 

DEPLOYMENT:-

(1)Windows XP

 

Screenshot_56

 

Main()

{

If(“Hi”);    Source code

}

  • Exe file is source code independent
  • Exe file executes successfully

OBS:- In above diagram the copied exe file will be executed successfully in the client machine I,e the  project is deployed successfully

Same diag

 

Screenshot_57

 

}

  1. In this class project is not deployed successfully because in open it contains a file in open method
  2. In the a bore diagram the copied exe file will not be executed as it depends c:\abc.txt file, hence along with exe file abc.txt also must be copied.
  1. Deployment is a process providing all the required resources in order to execute on application successfully in the client machine.

 

Screenshot_58

 

 

  • client machine must have CLR Software
  • CLR Can be installed with the help of DOT NET FX35 Setup.exe file.
  • CLR Software is Free – Distributable.

i.e, No License need to be purchased.

  1. White a project is deploying all the resources like text file, image files, xml files need to be included.
  2. To deploy the project. NET introduced

FileScreenshot_24 new projectScreenshot_24 other project TypesScreenshot_24 Setup and Deployment Screenshot_24Setup wizard template.

 

Ex: A process to deploy Roles project

  1. Open Roles project(Previous Example) and execute the project

Obs:- Roles.exe file will be created under

D:\C194\ Roles\Bin\Debug Folder

  1. Open setup wizard with project name ROLE Based Security

(This name will be displayed in welcome screen)

3.Then a wizard will be opened

W1) Click next

W2) Select “Create a setup for a windows application” and click next.

W3) Add the files like*.txt,*.jpg,*.xml etc, If required then click next

W4) Click on finish

 

Screenshot_59

 

 

 

Build the project(Build menuà Build solution)

S:-Roles based security.msi and stup.exe files are created under

\c194\roles based security/debug folder

Screenshot_24Only this two files need to be given to the client

 

Steps for oracle data base deployment:-

Screenshot_60

 

 

  1. U(Sers),(or)(3)(Tables):(2)U>

Export grants(yes/no):yes>

Export table data<yes/no: yes>

Compress extents(yes/no): yes>

C:\oracle\ora90\Bin>imp d:\abc.dmp

 

 

 

 

“At TekSlate, we are trying to create high quality tutorials and articles, if you think any information is incorrect or want to add anything to the article, please feel free to get in touch with us at info@tekslate.com, we will update the article in 24 hours.”

0 Responses on Admin, DEPLOYMENT in C# .Net"

    Leave a Message

    Your email address will not be published. Required fields are marked *

    Support


    Please leave a message and we'll get back to you soon.
    Three + 6