Web Forms :: Implementing ITextSharp In An Application?
Apr 12, 2010
I'm working on a project that involves exporting HTML to PDF. I was told that this can be accomplished with a a free library called ITextSharp:http://itextsharp.sourceforge.net/This looks like it's actually a JAVA-based interface. Does anyone know how to actually inistall this and reference these dlls in your ASP.Net project? Maybe there there's a different version of ITextSharp for .Net that I missed...
View 3 Replies
Similar Messages:
May 5, 2010
I am implementing an eCommerce application using ASP.Net. I would like to know if custom Google search is sufficient enough or if we plan to go implement our search functionality.. how do we go about doing it?
View 3 Replies
Apr 3, 2011
I am looking for code to create a itextsharp pdf file using XML and xslt in an ASP.net application.I was unable find any code from the internet whihc uses xslt transform before converting to pdf.
View 1 Replies
Feb 19, 2010
I am about to deploy an ASP .NET application (developed with LINQ-to-SQL). I have taken following precautions: Database access via user with limited access, however, since application is to access the sensitive data, I can't deprive this limited access user from it Database server is not exposed to external network - is hiding behind DMZ and all external ports are blocked I have done thorough security testing of the web-application; SQL Injections, rights management, illegal data access (via post/get data tempering) Application is operating on SSL
1 - I am using ASP .NET authorization API; any recommendation for avoiding session hijacking (in case someone some-how gets to know the session key). Is there are way to change the authentication cookie less prone to threats? Say like, changing it after every request? (I know I am get very conscious about this particular item)
2 - Data in the database is not encrypted. To make things ultra-secure, I am thinking about implementing transparent data encryption. Can someone share his/her experience or a link about implementing data level encryption with SQL Server 2008 along with pros-and-cons?
3 - Recommendation for storing connection string in web.config. Is using integrated security better then using encrypted database connection string?
View 3 Replies
Jan 16, 2011
I am new to asp.net and developing an application where there will be some roles like (admin, entry user, maker, checker) one user can have all or can have partial roles based on the provided roles and the page should restrict functionality based on the user role.
What is the best way of implementing it without memberships in asp.net ..
View 1 Replies
Feb 16, 2011
In my asp.net application, users are created by the administrators & those users need to log-in into the system using their own email/password or openid. So what is the best option to implement in this scenario?
I mean, as users can't register them self,do administrator required to associate each openid with the users & what kind of table structure do I need?
And do I also need the log-in interface like that of [URL] showing multiple types of authentication(default & openid from various providers)?
View 1 Replies
Jan 25, 2010
want to make sure I am not assuming something foolish here, when implementing the singleton pattern in an ASP .Net web application the static variable scope is only for the current user session, right? If a second user is accessing the site it is a different memory scope...?
View 4 Replies
Feb 8, 2011
I am developing a web application using asp.net 4.0, vb.net 4.0 and Sql-Server 2005 as backend. I want to implement read only or read/write permissions for a particular logged in user. Ex : I have a Purchase order page, now I want to assign only view permissions to a particular user and read/write permissions to another user. what would be the best way to do it ? Use authentication and authorization provided by .Net or implement custom authentication and authorization ?
View 2 Replies
Oct 10, 2010
I'm writing an ASP.NET MVC site where I need to have a "Tasks" application that runs alongside the website. Such a "Tasks" application would collect data at set intervals and insert it into the database.
Of course, I could write a simple Console Application and use the Windows Task Scheduler to run it, but my site is being hosted by GoDaddy and I only have medium trust permissions.
Are there any methods for implementing such functionality while not violating medium trust permissions?
One method that I'm considering is a method in the site itself that gathers data, waits for a long time, and then gathers data again. Would that interupt users' connection to the site?
View 1 Replies
Nov 18, 2010
I've been tasked with implementing a JSON feed on an asp.net website that will be consumed by 3rd party apps (such as IPhone, Android, etc) and I'd like to follow best practices.
An example of what I'd like to achieve would be something similar to: [URL]
I've chosen the JSON.net api as this seems to be highly recommended.
My Google-fu must be failing me as I can't find a single full example code for an Asp.net web application with JSON.net implemented on it, so I've no real concept of where to begin.
My question is fairly simple:
Should I create this sort of feed as an ASPX, or ASHX file? Or even a .NET Web Service? (Remember that the tools that will be using this feed are on external apps like IPhones, etc)
I created a test feed in both ASHX and ASPX format ... here is the code (I'm using Subsonic to populate the collection) ... are either of these along the correct lines?
ASPX:
[Code]...
View 2 Replies
Mar 1, 2011
I've been looking at implementing Url Re-Writing into my site, and have been confused by the sheer magnitude of different methods of doing it!
Anyway, what I'd like to do is convert my existing url into something more readable and search- engine friendly.
For example, my current Url is '~/Magician?localityId=x' (where x = the id of a place name)
and I'd like it to be '~/placename-Magician' (where placename = that retrieved from the querystring)
I use the localityId to query the database with, in order to get the relevant place name.
Does anybody know the best method to use for this, and can you point me in the direction of a good tutorial for that method?
View 7 Replies
Jun 27, 2010
I have included a flash menu inside the master page. The menu is embeded in the masterpage as an object using <embed> tag.
I have given the link of the menu items as main.aspx?q=Electonics
or main.aspx?q=computers
etc.
What i am trying to do is.. that when a user will click over a menu item, he will be directed to menu.aspx and depending on the value of q I will change the content of the webform dynamically.
Eg: If he clicks over the item corresponding to main.aspx?q=computers , then he will be directed to main.aspx but the content will be related to computers
similarly if he clicks over main.aspx?q=electronics ,then he will be directed to main.aspx but the content will be related to electronics
But i m facing problem implementing this concept.
View 2 Replies
Aug 24, 2013
In bus reservation mutiple end-user are requested for single seat at a time. How we can handle the multiple user request. how we can reserved the seat for one requester and how to handle the other requests for that seat.
View 1 Replies
Jul 24, 2012
I found the next iTextSharp Code in your site,
But have some Problems
The First One is there are some way to use it with CSS ?
View 1 Replies
Jan 13, 2010
I am having issues implementing SqlSiteMapProvider using the Wicked Code article. I am using VB.NET and SQL Server 2008 - and the OnSiteMapChanged event is not firing (the SqlDepdencyCache just seems to simply be not working at all). The article states "You also need to run the ASP.NET worker process with dbo privileges for SQL Server 2005 cache dependencies to work automatically.)" I don't understand what this means. I know what the ASPNET user account is and that it runs aspnet_wp.exe which is basically the ASP.NET run time as I understand it. I know what DBO privs are on SQL. But my SQL and web servers are on different machines, and ASPNET is not a domain account. And it seems crazy to make it one to try to simply get the SqlDepdencyCache to work, and I have trouble believing everyone is doing this?Anyone have any clue what I'm missing here?
View 2 Replies
Feb 22, 2010
I am using the ASP.NET Web Site Small Business Starter Kit as a starting point for a simple web app. I wanted to convert it to a web project from a web site for few reasons (better interaction with VisualSVN, etc..).
I converted pretty much evertyhing over without too much trouble. Only one page is having an issue - at first the one issue I had on this same Provider: I was getting an error message about the type for the class that inherits ConfigurationSection (ProviderSettingsValidation) could not be found. I did some googling and ofund I had to change the web.config, at the type section for the provider to use the full assembly name/type name instead of just the typename. But after doing this, I get a new error and find myself stuck and found nothing on google... here is unhandled exception message:
An error occurred creating the configuration section handler for SmallBusinessDataProviders: Type 'FooWeb.ProviderSettingsValidation' does not inherit from System.Configuration.IConfigurationSectionHandler'. (C:ProjectsFooWebFacingFooWebFooWebweb.config
line 5)
View 1 Replies
May 6, 2010
Apropos MSDN link:
[URL]
[.NET Framework 4 - ASP.NET]
View 2 Replies
Jun 17, 2010
I have a gridview that I want to implemenet a custom pager template using the data pager. How would I go about implementing the IPageableItemContainer, where would I put the code, in a sperate class, in the page class that I am implementing the gridview in and how to implement the code on a gridview.
View 1 Replies
Aug 27, 2010
I want to convert my current asp.net page which will be running, to PDF when i click a button present on the page. I have buttons textboxes and text on the page. itextsharp.dll is not showing textboxs and buttons on the page its only showing plain html text.. what should i do?
View 3 Replies
Oct 5, 2010
i'm genarating a pdf using itextsharp.in my gridview there are many feilds(100).i want to increase my page width. Document pdfDoc = new Document(PageSize.A1, 10f, 10f, 10f, 0f);
View 1 Replies
Apr 27, 2010
i am using iTextsharp to generate pdf ,i would like to open a pdf at 75%
View 1 Replies
Sep 26, 2010
I want to have an upload functionality for uploading large files -- as large as 1GB. I see some sites successfully implementing reliable upload functionality without using any upload clients e.g. ActiveX, Java, etc. Some suggest, the secret is sending the large file in smaller and more manageable chunks to the server. If that't the case how do I handle that?
View 4 Replies
Aug 23, 2010
I have a textbox and what I would like to implement is basically a situation similar to what you have in google when you type in a word. In otherwords,
in the textbox when you type in J, it should generate a list of names that starts with O in alphabetical order, then next when you type in o, so that now you have Jo, it should generate a list of names instead that now starts with Jo in alphabetical order, then again when you type in h, it should generate a list of names that starts with Joh and so on.
View 5 Replies
Feb 23, 2011
I want label to set its width automatically. For example, 8 lines beside image with 400px of width and other lines on top and bottom of image, with 800px of width. In fact something like Microsoft word text wrapping-square mode.
View 2 Replies
May 14, 2010
Am implementing the threadpool concept and have doutbt in threads being created.
[Code]....
Initially i gave (1,1) in semaphores and only one thread was created and it did only one task, and (5,5) created one thread and it used for all the times.
Is ter anything wrong in wat i did or any other way of doin other than semaphores. And mainly wat abt the remaining 20 threads in threadpool? its a waste of CPU right. Can i create only 5?
View 6 Replies