C# Corner

Resources  
  • Publish Nuget Packages In .NET CoreJan 19, 2018. Now that you have a registry and key to upload your packages, let’s create and push a package. I am using here a simple .NET Core class library I wrote to work with CSV files, the source code can be found on GitHub. You can of course use any of your projects.
  • App.Config AutoReaderJan 17, 2018. In our day to day development, it is a rare case where we don’t need to read a configuration file. There are many techniques for the treatment of such static classes, singleton classes, etc and it is normally that the Config class is accessible in all projects.
  • Basics Of Angular And Its Versions - Part TwoJan 15, 2018. Module is nothing but a package like a package in Java, a namespace in C# and like a header-file in C / C++. Java, C#, and C++ have their own modularity system which contains classes, interfaces, enumerations etc. In the same way, Angular also has its own modularity system called NgModules which helps to organize an application into adhesive blocks of functionality. Every Angular application should have at least one NgModule and the root module is called AppModule.
  • Add Quick Launch Link To SharePoint 2013 Site Using REST APIJan 15, 2018. In this article, I have explored how to add links represented as headings in the Quick Launch area of the user interface using REST API. Here, we trying to add a custom navigation node corresponding to links in the Quick Launch area of the site using REST API using jQuery.
  • Preventing CSRF Attacks In ASP.NET Core 2.0Jan 12, 2018. OWASP 2013 classifies Cross Site Request Forgery (CSRF) as one of the Top 10 risks and is present if attacker can force the victim's browser to send forged request to your web application and it considers it a legitimate request.
  • How To Take Screenshot Using jQuery And PHPJan 10, 2018. Hello all, today in this article we will learn how to take screenshots using jquery and php. So, basically we will create a webpage and in the webpage we create a button which will take screenshot using the help of library called html2canvas . So once we take the screenshot we will save the screenshot in a json file using the help of jquery, javascript and php. We will be using for jquery and javascript to handel client side request and php to handel server side request. We will also learn about file handling using php.
  • How To Configure User Profile Service Application Step By StepJan 10, 2018. In the last article I described about how to delete and create User profile service, today I'm demonstrating about how to configure UPA service application step by step with a screen shot. This articles applies to SharePoint 2010, 2013 and 2016.
  • Microsoft Office 2013 UI Design In C# - Visual StudioJan 07, 2018. In this article we will design the UI of Microsoft Office 2013 applications like Word, PowerPoint, Excel etc.
  • Store And Retrieve Using FILESTREAM From SQL DatabaseJan 06, 2018. Hello friends today I will explaining you regarding storing and retrieving image, video and other document files from SQL server using FILESTREAM future. If you are new to FIELSTREAM then read my previous article FILESTREAM Feature In SQL Server.
  • How To Install And Start The Reporting Services SharePoint Service In SharePointJan 05, 2018. In this article, we will learn about "How to Install and Start the Reporting Services SharePoint Service in SharePoint".
  • How To Debug Minified JS FileJan 05, 2018. Debugging minified JS file is always a tedious task for developers. In day to day development life we end up in a situation where all JS files will be minified and moved into production for deployment. It is usual that some unprecedented JS error comes across browser versions. Being a developer finally it comes to our lap to resolve the issue. To reproduce the same error in a test environment with un-minified JS version doesn’t work out. To resolve this issue requires some kind of hard work which is time consuming.
  • Hide The Running Batch File Using Visual Basic ScriptJan 02, 2018. This how-to article is straightforward and to the point. In this post, you will learn how to run batch files in hidden mode.
  • Integrate Angular 5 With Visual Studio 2017Jan 02, 2018. If installation file finds any open Visual Studio instances it will stop the installation and ask us to click on “EndTask”, by clicking , it will close the all the instances of Visual Studio.
  • Read And Write Operation In HDFSDec 26, 2017. HDFS is hadoop distributed file system; in simple terms a file is stored in a distributed machines. The Hadoop framework was designed considering reliability, throughput, network I/O, and disk I/O; but compromised with latency, which is best in RDBMS.
  • How To Trigger SharePoint 2013 Designer Workflow On A List Item By Calling REST API Using jQueryDec 23, 2017. In this article, we will learn how to trigger the Sharepoint 2013 Designer List Workflow on a list item using REST API and jQuery.
  • Brief Description Of HDFS ArchitectureDec 22, 2017. Let us learn the HDFS architecture in this article. HDFS is a distributed file system called Hadoop Distributed File System.
  • SharePoint 2013 - Different Ways To Enable User Information ListDec 22, 2017. You can find a great description of User Information List on MSDN, yet if I had to explain it in brief I would say it’s a list which stores the users and their information. The information of the users includes details like their Name, Email ID, Display Name, Login Name, Job Title, About User, and Department. Whenever a user is added to the site, he/she appears in the User Information List. The User Profile Services sync the user data into the User Information List from Active Directory.
  • Some Useful JavaScript Methods, Variable And Objects In Sharepoint 2013Dec 21, 2017. In my previous blog, I explored _spPageContextInfo variable properties. This time, I am exploring some SharePoint-provided useful methods and objects in JavaScript.
  • Export SQL Result To A Text FileDec 18, 2017. This article gives an overview of how to export SQL query results to a text file.
  • When SharePoint 2013 Site With .Dev Extension Stops Working In ChromeDec 18, 2017. In this article, I’ll explain how our SharePoint 2013 site with extension “.dev” stopped working in CHROME browser
  • Create First Project In VSTS And Clone It Using Tortoise GITDec 18, 2017. In this article, we will learn how we can create a new project in VSTS. Also, we will learn how we can clone that project in our windows system. Once the project has been cloned we will push our files to a VSTS. At last we will talk about Dashboards in VSTS.
  • Xamarin.Forms - Working With Files Using DependencyServiceDec 13, 2017. In this article, you will learn how to create a file using Dependency Service in Xamarin.Forms.
  • Generate Thumbnail From Live URL Of Microsoft Office And PDF file in ASP.NET MVCDec 13, 2017. Recently, I got a chance to create thumbnail images from the live URL. The URLs were not of images but of some DOCX file, some XLSX file, or PDF file. We don’t have any custom library which can directly generate the thumbnail from a live URL. So, here, we will learn how we can customize our code to generate the thumbnail in .NET.
  • Enabling/ Using Content By Search Web Part In Standard Edition Of SharePoint 2013Dec 11, 2017. In this article, I’ll explain how to use/enable Content by searching Web Part in Standard Edition of SharePoint 2013.
  • Knowing When To Reflect With Caller Info AttributesDec 10, 2017. If you've been around C# long enough, you've probably had a need at one time or another to figure out some information about code that's being executed. It might be a method name, the file being executed, or even more specific details like the line number.
  • How To Save Multiple Links In A List Column And UI On Custom List Form In Visual Web PartDec 06, 2017. In this article, we will discuss how we are storing multiple links in the list field and supporting the UI on custom list form in Visual web part
  • Accessing Azure Key Vaults Using Certification Dec 05, 2017. In the old days, we used to access the Azure Key Vaults using Vault URL and its Secret Key, we were placing this in config file and going from there.
  • Display Sub Directories And Files In TreeViewDec 05, 2017. Display Sub Directories and Files in Treeview, Tooltip in Treeview Nodes, Loading Files in Treeview, Display image icon in TreeNode.
  • Show SharePoint List Item Level Attachments Using REST API And jQueryDec 05, 2017. In this article, we explore in Sharepoint 2013, how to show the Sharepoint list item level attachments using REST API and jQuery. In previous articles, I explained about adding multiple attachments to list item using html and JQuery. Now let’s use some REST API to pull these attachments and display them in list.
  • SharePoint 2013 - Changing The URL Of Existing Web ApplicationDec 02, 2017. In this blog, I’ll discuss our customer requirement for changing the URL of an existing web application, changing URL of its extended application, and steps to do those successfully.
  • Work With External AppSetting Of Web.ConfigDec 01, 2017. In this article, you will learn about .NET Configuration Files
  • Mounting Azure File Share With WindowsNov 30, 2017. This article shows how to create an Azure Storage account
  • Routing In Suave.io - Web Development With F#Nov 29, 2017. A web application is generally composed of multiple “routes”. A route means a URL that does not necessarily map a physical file, you can use routes to define some URLs that are semantically meaningful to the user.
  • Change SharePoint Site To Read OnlyNov 29, 2017. This article will help you out on making your sites read only which is mostly required during your SharePoint migration. These steps have been tested on SharePoint 2010, 2013 and 2016. We have 3 options and we will cover each one. So, let’s get started.
  • Progress Bar Android App Using Android StudioNov 28, 2017. In this article, I will show you how to create a Progress bar android App using Android studio. We can display the Android progress bar dialog box to display the status of work being done e.g. downloading file, analyzing status of work etc.
  • Saving Your Ruby On Rails Application Code To Github.comNov 28, 2017. In this article you will learn git configuration in git bash and git hub repository creation, add new ssh key in git hub and finally add all application files into git hub repository via remotely using with git bash for Ruby on Rails application version controlling.
  • Convert XML File To Excel FileNov 27, 2017. Here, we are going to learn to read XML files in C# WindowsForm applications. We are going to make a small single-form application which takes an XML file from the user and convert XML Data to Excel Data and Returns an Excel File.
  • Configuring Log4Net With Database - A Tutorial For BeginnersNov 26, 2017. Log4Net is a framework for logging .NET applications. It is an open source library that can be used to log output for different targets like logging output in Text files, Database, Console, Mail (SMTP), Remote and others. In this article, I will explain how to log output in a database.
  • Transform Web.Config File While Deploying The Web Application ProjectNov 25, 2017. One of the nice features that supports Visual Studio 2010 and above versions is Web.Config (XDT) transformations.
  • SharePoint 2016/2013/Online - How To Apply Password Encryption For Component As Service Using PowerShellNov 22, 2017. In this article, I will discuss the mechanism to authenticate the requests to SharePoint Lists while working with PowerShell.
  • Copying A File In Node.js v8.5Nov 22, 2017. In this article, I will explain how to copy a file using the brand new Node.js version 8.5.
  • ASP.NET Core 2.0 Secret ManagerNov 22, 2017. I discussed in the previous post how configuration settings can be stored in configuration files. However, these files are checked in the source control and not suitable to store confidential settings. In a production environment these settings can be stored in environment variables or Azure Key Vault however, for development ASP.NET Core provides an alternate solution: Secret Manager.
  • Uploading, Validating, And Storing A File Into Database Using EF In ASP.NET MVC5Nov 20, 2017. Here, you will learn how to upload a file, validate a file and store a file into database using JQuery, Entity Framework in ASP.NET MVC5
  • How to Return Files From Web APINov 18, 2017. This article explains how to transfer/ return files(PDF/Doc/Excel/zip) files from Web API service
  • Create App Using Xamarin.Android Using C# - Part FourNov 17, 2017. Xamarin.Android has native user interface controls. These controls can be easily added to Xamarin.Android apps using the Android Designer or programatically via XML layout files. Xamarin.Android exposes all of the user interface object properties and methods in C#.
  • How To Add A Button To Existing Ribbon Tab In Office ApplicationsNov 16, 2017. This article is a walk through of adding a button on the Ribbon of an existing tab in Office Application (Word 2016 in this case).
  • How To Use StringBuilder And File Class For .NET ApplicationNov 14, 2017. Here, I am going to share how and why should we create error log in our application.
  • Creating Azure WebJob To Access SharePoint Using Typescript And Node.jsNov 14, 2017. Create a new folder in the solution by the name 'src' and create index.ts file inside the folder. In this folder we will keep all the source files which will get executed when the Job runs. Remember to keep the index.ts at the root of the src and all other files (if any) keep them in the folder otherwise the job will fail.
  • Custom Search Using Client Side CodeNov 11, 2017. The Custom Search functionality is achieved through JS. The Search produces live results for each key press. This search can be used to filter the data table or html table data dynamically based on the key words entered. The below code explains the search for html table.
  • Upload/ Download Files In ASP.NET Core 2.0Nov 10, 2017. ASP.NET Core MVC model binding provides IFormFile interface to upload one or more files. The HTML form must have encoding type set to multipart/form-data and an input element with type attribute set to file.
  • How To Extract All Images From An Existing PowerPoint PresentationNov 09, 2017. This article will give you the steps to save all the images from a PowerPoint presentation file.
  • Angular 5 Basics And Quickstart With CLINov 09, 2017. Imagine what it would be to manually add the configuration files required to bootstrap an Angular 4 application. It is painful, right? For beginners, it might become tedious to declare all these files and manually configure all these files to bootstrap the app. It wouldn't be a good idea to set up the configuration things rather than focus on the framework and its usage. Even for the advanced developer, it might not be a great way to do all these things manually. So, Angular CLI is the solution here
  • If The Boot Configuration Data For Your PC Is Missing Or Contains ErrorsNov 06, 2017. The Boot Configuration Data (BCD) is a firmware-independent database for boot-time configuration data. It is used as new Windows Boot Manager. It replaces the "boot.ini" file that was used in the old Operating System. For more details check Windows startup process.
  • Power BI And Excel File As Data SourceNov 06, 2017. Though we have several options for data sources to connect with Power BI in this blog, I am going to write about how we can use Excel data with Power BI and how to refresh the report when Excel data is changed.
  • URL Routing Of ASP.NET MVC And ASP.NET Web FormsNov 06, 2017. Asp.Net MVC has route-based URLs which means URLs are divided into controllers and actions; and moreover, it is based on controller not on physical file.
  • ASP.NET Core 2.0 MVC RazorOct 31, 2017. ASP.NET Core MVC middleware will find and execute the Razor template (.cshtml file) when the Controller returns ViewResult. Razor templates use syntax that combine C# and HTML to produce the final HTML page.
  • Office 365 Public CDN OverviewOct 27, 2017. Microsoft has recently announced (over a months’ time ago now as I am writing this article) availability of Office 365 Public Content Delivery Network (CDN). This gives us the good option to host the static content such as JavaScript files, CSS, images, documents in CDN. The files in CDN will help better performance with SharePoint pages.
  • How To Read CSV File In ASP.NET With Example C# and VB.NETOct 26, 2017. In this articleI'll explain a way to upload, read/browse and show CSV file (Text File) information in ASP.Net GridView using C# and VB.Net.
  • Creating A Comment Box Using Angular 1.0.7Oct 25, 2017. AngularJS is a JavaScript framework. It is a library written in JavaScript. AngularJS is distributed as a JavaScript file, and can be added to a web page with a script tag.
  • Setting Or Retrieving Geotag In Media File In UWP With XAML And C#Oct 25, 2017. Reading this article, you can learn how to set or retrieve Geotagging in Media File in Universal Windows Apps development with XAML and Visual C#.
  • Generate PDF From An HTML Page Using AngularOct 24, 2017. In this article, I am going to explain how to generate PDF file from an HTML page using AngularJS in SharePoint. This is the effortless way to port the SharePoint list data or any other list data to carry, print, and make a hard copy.
  • Missing 'Manage Delegates' Option In PWA Setting In Project Server 2016Oct 23, 2017. In this article, we will be fixing the issue Missing 'Manage Delegates' option in PWA Setting.
  • Find And Replace Text In Word Document Using C#Oct 18, 2017. On Microsoft Word, we can find special text strings and replace them with new text strings easily. We can replace all the searched text automatically at one time and we can also only replace some of them from the searched results. This article will mention various approaches of the finding and replacing feature on the word document by using a .NET API Spire.Doc independently (without using any third-party code) as below.
  • Running Business Rule Only On Record CreateOct 16, 2017. We know that business rules are executed on form load and on change of the associated field, which means if we have business rule for any entity it will fire for new record as well for existing records when form loads.
  • Read Excel File In C# WinFormOct 13, 2017. Here we are going to learn to read Excel files in C# windows form applications.
  • An Easy Way To Encode And Decode File In ASP.NETOct 13, 2017. In this article, I’ll explain a way to encode and decode a file in ASP.NET using C# and VB.NET with example.
  • How To Send Notification Via SMS When Dropbox Is Modified With Microsoft FlowOct 12, 2017. This article helps you to learn how to notify someone via SMS when a Dropbox file is modified through Microsoft Flow.
  • Excel To XML Using LINQOct 11, 2017. In this article we will show you the easiest way to convert Excel data into Xml files. There is a certain way to convert Excel file to Xml, for example using Excel Library (Com Component)
  • ASP.NET Core 2.0 File ProvidersOct 11, 2017. ASP.NET Core provides an encapsulation of System.IO.File type in order to limit the access to file systems via PhysicalFileProvider type, which is an implementation of IFileProvider.
  • Shared Storage Using Azure File ServiceOct 10, 2017. In most cases, the virtual disks we are creating for an Azure VM are connected to that particular VM with a 1:1 relationship which can’t be accessed by another VM at the same time. In case you need a shared storage by multiple VMs you should use Azure File Shares. Azure File shares can be mounted concurrently by cloud or on-premises deployments of Windows, Linux, and macOS. This is mostly used in case of any requirement of something like a shared application setting or if you need to share any tools or utilities between developers and administrators.
  • What Is Version Control And Why You Should Use ItOct 09, 2017. In this article, we will learn what Version Control is, and what are the benefits of version control. Version Control means keeping the copies of your code or files from every stage in its lifecycle. Version control system allows us to manage all versions of our code with representing single version at a time.
  • Upload Multiple Files To SharePoint List On Single Click Using Angular And jQueryOct 07, 2017. This article explains how to upload more than one files into a SharePoint list on just single click using Angular and jQuery.
  • Sending Bot Reply Message With Attachment Using Bot FrameworkOct 07, 2017. The Bot Framework enables you to build bots that support different types of interactions with users. You can design conversations in your bot to be freeform. Your bot can also have more guided interactions where it provides the user choices or actions. The conversation can use simple text strings, the message with an attachment like the image, File (pdf, word, excel, ppt), mp3, Video or more complex rich cards.
  • SharePoint OnPremises - Client Side File Upload Control And Uploading File In SharePoint Using Rest APIOct 06, 2017. In one of our SharePoint OnPremises projects, we have requirement to upload the user’s photo, his profile image in SharePoint Image library (PublishingImages). So we have implemented this feature using JavaScript and upload image in SharePoint Image library using rest API.
  • How To Connect OneDrive To Google Drive With Microsoft FlowOct 05, 2017. This article helps you to learn how to create a Flow between the OneDrive files and Google Drive files.
  • Change Site Collection URL, Title, Logo In SharePoint 2013 Using PowerShell Commands, Back Up And Restore OptionOct 05, 2017. In this article I have discussed about how to change the site collection URL, title & logo in SharePoint 2013. Suppose in your company you have already created your site collection & customized everything but later your company decided to change the Site URL & title as well.
  • Create Power BI Report Using Twitter AnalyticsOct 04, 2017. In this article, we will learn how we can use Twitter analytics data and prepare Power BI Report. We can export Twitter analytics data in .csv format and consume that .csv file to prepare a Power BI report.
  • How To Log Messages (Information, Errors, Warnings) In ASP.NET CoreOct 04, 2017. Framework provides logging capability through ILoggerFactory, to which you could attach one or more providers. Providers act on the logged data in some form i.e., log it to file, database, Azure etc.
  • Manifest File In Progressive Web AppOct 01, 2017. In this article we will learn what the purpose of manifest.json file in a Progressive Web Application is.
  • Convert HTML Files To DOCX Files With MariGold.OpenXHTMLSep 30, 2017. This tutorial explains how to create an HTML to DOCX converter with a C# windows application.
  • Steps To Fix Project File Could Not Be Loaded Issue After Rename Project In ASP.NET MVCSep 29, 2017. I created one MVC application named "SatyaExportMVC". Then I will rename it Satyaprakash of Project name and Solution file name.
  • Hex File And ICSP Pins Of ArduinoSep 29, 2017. This article will provide you deep access to Arduino UNO. In this article we are going to see what are ICSP pins, AREF pins and .hex files. It is necessary to step ahead in each and every task we handle to survive in the current scenario.
  • SharePoint 2013 - Converting GMT/UTC Time To Local Time In XSLT For Rendering RSS Feed ResultsSep 29, 2017. Recently, I came across the requirement where the date coming from RSS feed which is in GMT format needed to be converted to local time and displayed in the required format.
  • Beginners Guide For Angular ModuleSep 28, 2017. For better understanding, before directly jump into the angular module, let me provide few lines about what is an angular and angular application in simple words.
  • Creating A Wave Audio Player Using WinMM The APISep 28, 2017. This is the part two of my three part trilogy concerning the use of windows mixer controls, playing an existing wave file through some available speaker, or recording and saving a wave file from an available audio input device such as a microphone. You might be wondering about the order I am presenting these tutorials. Simple, ...when my father taught me to play pool, we would often come upon a scenario where there are multiple shots available.
  • Understanding And Controlling The Windows Mixer APISep 27, 2017. This tutorial is going to be a three part introduction to playing and recording audio files using winmm.dll (a WinAPI). This first part is about understanding, opening and controlling windows mixers. The other tutorials will be about recording and playing audio .wav files. We will not be working with .mp3 (you can see the documentation to understand those functions.)
  • Consume Local File System As A Data Source In Power BISep 27, 2017. We all know Power BI is a very good business intelligence tool. Sometimes there is a situation when we need to prepare report using file system. Power BI provides a connector to consume data from folder structure. We can get all files from a specific folder. But there is one limitation with this connector.
  • SharePoint 2016/2013 - Event Log Monitoring By PowerShell AutomationSep 27, 2017. This article is based on the requirement I recently encountered where I was required to monitor a specific exception type and if it occurred the Admins needed to be notified at the same time.
  • Understanding Cloud Storage In AzureSep 26, 2017. In this article, I will explain about Storage Accounts (Storage Accounts can hold hundreds of terabytes of data.) and we will see how we can use Azure Storage as a place to keep uploaded files for our web application and how we can allow users to download files from storage by creating and handling out what is known as a shared access signature (SAS).
  • SharePoint 2016/2013 - Exploring Client Side People Picker ControlSep 26, 2017. In this demo, I will be discussing the implementation details of the Client Side People Picker Control in Production Scenarios.
  • Basic PDF Export Using JQuery In ASP.NET MVC RazorSep 21, 2017. Here i will show you after insert records how to export the record in pdf format using jquery.
  • What Is New In iOS 11?Sep 19, 2017. iOS 11 sets a new standard for the world’s most advanced mobile operating system. Your apps can now become more intelligent using the power of machine learning with Core ML. You can create incredible augmented reality experiences with ARKit. And you can deliver a more unified and immersive user experience with new multitasking features, including drag and drop for iPad, the new Files app, new camera APIs, new SiriKit domains, Apple Music integration, and more
  • Serve Static Files In ASP.NET Core Using Visual Studio 2017Sep 18, 2017. This article explains about static files and how to set default page using static files in ASP.NET using Visual Studio 2017 in a step by step way.
  • Missing Security Section In PWA Settings In Project Server 2016Sep 18, 2017. In this article, we will discuss and solve the issue of Missing Security Setting in PWA Settings in Project Server 2016 / 2013.
  • File Upload With JQuery Progress Bar In ASP MVCSep 14, 2017. First we have to create an Asp Mvc project in visual studio. To do that, Open Visual Studio -> New Project -> A new dialog window will appear -> In left pane select C# ->select Web -> Select "ASP.NET MVC 4 Application" name your project and click ok.
  • SharePoint Permission Mode Vs Project Permission Mode In Project Server 2016 / 2013Sep 14, 2017. In this article, we will discuss the Permission Modes in Project Server 2016 / 2013.
  • ASP.NET Core 2.0 Static FilesSep 13, 2017. Static files can also be served from folders outside wwwroot by passing in StaticFileOptions to middleware and setting a FileProvider and RequestPath. This is useful when you want authorised access to files e.g. by returning FileResult action result from a secure controller.
  • Update Managed Metadata Field Using SharePoint Designer 2013 WorkflowSep 12, 2017. In this article, I am going to explain how we can update a managed metadata field using SharePoint 2013 Designer Workflow. This solution will work for both SharePoint 2013 On-Premise and SharePoint Online (Office 365). I tested the below solution in Office 365 environment.
  • ASP.NET Core 2.0 ConfigurationSep 11, 2017. ASP.NET Core has a simple mechanism to read application settings from various sources like JSON files, Environment variables or even custom data sources. It is also simple to use the settings, thanks to Dependency Injection.
  • SharePoint 2013 - On Premises - Powershell Script To Import Termsets On Given Site From .csv File In Specific FolderSep 10, 2017. In this article I’ll explain how to import multiple termsets using .CSV file from one specific folder.

About Word-2013-PDF-File

NA
File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!