The site I am working on gets its data from small XML files (a few KB) that are refreshed every minute by external tools.
Knowing that multiple users will view pages, I think the best way would be to put them as static XmlDocument objects.
private XmlDocument bodyStatuses = new XmlDocument (myfile));
My first question is: knowing that the file will be refreshed on a regular basis, when is the "new" object actually created (pointing to the new version of the file, with new handle, etc..) ?
Can I safely assume that ASP manages that for me ?
Second question, in the same vein. When I use the same XmlDocument in multiple instances of a user control placed on the same page, could I also put my XML file as static in the user control ? so that it is only opened once (1st user control), and read once per user control ?
I am OK in C#, but new to ASP, so I don't know how such things are handled internally, and I would not want to hinder performances with bad coding habits
I develop an ASP.Net Web Application that handle the daily work requests such as vacations, overtime, Leave Work, etc....
This process as the following:
1. the employee request from his account a vacation request.
2. the manager see this request and can approve or reject it.
My need when the user insert his request I want to send an auto-alert (Notification) like messenger alert for the manager,
Is it possible by the asp.Net (web application).
I am using a GridView in my aspx page I want make the fields editable or non editable depending upon a field in page Code behind and another thing is that the bound column is also not getting values that I am assigning for code behind. Can anybody please look into my code and let me know, where am I doing mistake.
Please help me by giving suggestion where am I doing mistake or by showing any link for example. I am also researching regarding this. Any kind of help is appreciated. thanks in advance. For assigning values both the "" and '' aren't working I don't know why?
I'm new to paypal, one of my application is integrated with paypal(testing site ie, sandbox). I need to use the actual live URL in the application with new live account.
For creating new account: Do i need to create directly business account or developer account and then business account?
You have your customer open a PayPal account, and then they give you the login credentials to transmit a payment processing request.
Your customer will have to agree to the terms and conditions of the account, and enter their checking account information for fee's to be deducted from, and money to be deposited to. Plus they must comply to the pay pal version of morality as well, no porn, guns, pawn shops, bullets, the list goes on an on.
You test your code in your sandbox that you signed up for.
My client has commissioned a project to create a custom eshop. This project has a lot of customization to be done if i use a ready solution (Nopcommerce etc). Also the list of products will be great. Which platform do you recommend for such a project? Basically I want to do customization of both the frontend and the backend.
Depends on what your selling and what your volume is, how many employees will operate the website, etc.
Plus what technology you like working with.
Most companies use Magento which is PHP, but I've never really seen anybody make serious money with it. There are lots of program modules for it that you can buy.
Now you have shipping to be concerned with, do you want real time rate quotes with 92% accuracy, then you have to consider rural charge of $5.00 extra to drive out to the middle of the woods, if the shipping address is not an exact match, then a $3.50 correction charge is applied, taking a base rate of lets say $7.45 to $15.95 but you only charged $5.00 for it.
Plus payment processing of lets say $15.00 a month for the payment gateway, plus the merchant account monthly fee, the percentage rate charged. gets quite expansion. The best rate deals are using First Merchant or Chase Payment Tech, so now you need a program that supports the best rates.
People want inventory as well, because they don't have time to look in the warehouse to see if they have it. Also lots of people want remote fulfillment, where orders are transmitted to a remote warehouse and dropped shipped.
I can type about this all day long now, but you really need to gather more information on this before you just select a pre-written program to modify, it may take longer than you think to complete the modifications.
If you have any more questions, feel free to ask me. I've been doing this for over 11 years now.
First of all thank you for your information. My client want to develop an e-commerce system like as ebay. He want a site which anybody will register and sell their products (everyone has their own warehouse). So it's complicated website.
If it was me doing the job, before I wrote a single line of code or choose a package, I would think about if the concept is really EBay style, or if that is just a general reference.
I would map out exactly how people pay, where the money goes first, and how to distribute the money back to the seller. You may have to pay the seller after 10 days for the money to clear, and charge 3X the initial fee to make up for 2 transfers. I have EBay customers tell me that the total cost now is about 38% of the selling price.
I would then create a shipping account, in which everybody that sells uses the same shipper number, all freight is prepaid, and pass the shipping charges back to the seller. The shipping label is downloaded from the website and stuck to the package.
EBay is different, for they accept multiple currencies, but pay the seller in PayPal currency, which is technically not US Dollars. Then they charge you 6% to convert the PayPal currency to the currency of your preference. They also have unified shipping, in which all sellers can use the same EBay account to get a group rate to lower the shipping cost to the customer.
Or run it like GunBroker.com, in which sellers list the items, and pay 8% of the selling price within 30 days after the item sells. It's pretty slick, because all you do is provide the service and collect the fee's, and you don't have to handle the money.
So to sell an item, you have to list it first, enter your credit card info, buy an auction ad, design it and so forth. The seller runs the auction, if a customer makes a purchase, the website knows about it, and produces a charge to the seller for 8%, or the seller can go to account setting and make the payment.
The seller then collects the payment first usually US Postal Money Order, and ships the item when the check clears. The seller is responsible for not being scammed, and packing the item so it doesn't get damaged. Reputation comments control fraud and bad service.
You make upfront money off the AD upgrades, and get rewarded on the back end after the sale.
There both custom jobs, I don't know of a package that provides these levels of service.
Last Visit: 31-Dec-99 18:00 Last Update: 14-Mar-14 4:41