![]() ![]() Once we have Enabled the Google Drive API, we need to create credentials, and save details OAuth Consent Screen. Now, we need to enable "Google Drive API", so click on "Enable APIS and Services" and then search for "Google Drive API" on next screen search box, once you have selected "Google Drive API", enable it Once you have opened the dashboard, navigate to "API & services"-> "Dashboard" ![]() Once you have created the project, you can open the Google Cloud platform dashboard ( ), it will open the recently created project by default, if not you can select the project from top left. In the Next Screen, Enter project name and select Organization (if any applicable, default is No Orgnization) and Click "Create" In Next Screen select "MVC" as template and then Click "OK"Ĭreate new project in Google Developer Consoleīefore we move any further with our MVC project, we need to create a new project in Google developer console to get OAuth2 details. Let's begin by creating new project in Visual Studio, navigate to File-> New -> Project -> Select "ASP.NET web-application" from right pane and Select "Web" from left pane -> Enter project name ( GoogleDriveUploadMVC ) and Click "OK" Create a new project in Visual Studio for ASP.NET MVC In some web-application we may need to upload files on Google Drive, so in this post I have explained how we can use Google Drive API and OAuth2 to upload any type of file on Google drive using ASP.NET MVC C#. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |