Posts

Showing posts from December, 2017

How To Publish Web API - Visual Studio

Image
In this post i will show you how to publish your Web API project in Visual studio Open your solution and select the Web API project. Right click on the project and select Publish. Then it will popup Publish Web  process. In here i will show you how to publish using custom profile Select Custom and enter Profile Name  Hit next.(Connection tab) Select publish method as File System. And provide file location as Target Location i'm using HOST folder in C: drive. Hit next (Settings tab). Select Configuration as Release (By default in Release) and hit next (Preview tab). Click Publish button to publish your Web API. You can see publishing process in output window in Visual Studio . After succeeded the process you can brows file location and find all the files that you need to host your application. Now you can use this files to host in IIS server. Just need do give file path to IIS  Enjoy. 

Create Custom Attribute - Active Directory

Image
In this post i will show you how to create custom attribute in Active Directory and assign in to User class   Before create custom attribute you need to log in to Server using Administrative login. Not regular admin it has to be  Schema Admin. Otherwise   all the option will be disabled.(If you need to add Schema Admin  privileges, follow below steps.) Log in to user as an Administrator. Open Server Manger. Then Tools > Active Directory Users and Computers. Then Select Your Domain > Users and select user.  Then right click on user > Properties  Select Member of tab in properties window  > Add > Advanced  And type  Schema Admin on start with common query. then hit find now button (below screenshot)                         Then Select Schema Admin on search result. Hit OK > then OK again. Now you can create or edit attribute properties. Then you have to installation of Active Directory Schema Snap-In. for that, Open run.exe as administrat