Skip to content

Commit 77aa9f8

Browse files
committed
Release nuget package version 1.0.0
1 parent e19616c commit 77aa9f8

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
### What is WebFormsDocumentViewer?
1+
### What is WebFormsDocumentViewer?
22
WebFormsDocumentViewer is a simple custom control that lets you embed documents (PDF and Word) in your ASP.NET WebForms pages.
33

44
### How do I get started?
@@ -21,6 +21,13 @@ Or on your web page:
2121
<%@ Register Assembly="WebFormsDocumentViewer" Namespace="WebFormsDocumentViewer" TagPrefix="cc" %>
2222
```
2323

24+
### Where can I get it?
25+
First, [install NuGet](http://docs.nuget.org/docs/start-here/installing-nuget). Then, install [WebForms.DocumentViewer](https://www.nuget.org/packages/WebForms.DocumentViewer/) from the package manager console:
26+
27+
```
28+
PM> Install-Package WebForms.DocumentViewer
29+
```
30+
2431
### How to use it?
2532
You can configure the following parameters of the viewer:
2633
* Width: sets the width of the iframe

WebFormaDocumentViewer.UI/Default.aspx.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Web;
52
using System.Web.UI;
6-
using System.Web.UI.WebControls;
73

84
namespace WebFormsDocumentViewer.UI
95
{
10-
public partial class Default : System.Web.UI.Page
6+
public partial class Default : Page
117
{
128
protected void Page_Load(object sender, EventArgs e)
139
{

WebFormsDocumentViewer/WebFormsDocumentViewer.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
<DefineConstants>TRACE</DefineConstants>
2929
<ErrorReport>prompt</ErrorReport>
3030
<WarningLevel>4</WarningLevel>
31+
<DocumentationFile>bin\Release\WebFormsDocumentViewer.xml</DocumentationFile>
3132
</PropertyGroup>
3233
<ItemGroup>
3334
<Reference Include="Microsoft.Office.Interop.Word, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL">

0 commit comments

Comments
 (0)