|
-
.NET Remoting on port 80 -- reasonable?
Date: 12/29/07
(C Sharp) Keywords: software, xml, database, asp, web, linux, hosting, microsoft
All,
As those of us who have worked with attempting to make any logically partitioned/layered OO schema work between .NET client applications and WebServices know, it's simply not possible without going far out of your way to do a lot of extra work that the elegant OO inheritance/extension was supposed to alleviate anyway. When I am especially irked about this issue, I will construct job interviews with the following two questions spaced one after the other:
n) Do you consider yourself a fully object-oriented developer, familliar with the concepts of inheritance, extension, abstract classes, interfaces, with the ability to both understand and work with the boundaries/"layers"/"tiers" between classes for a given software project (e.g. Database/Business Objects/User Interface)?
m) If so, what do you consider the most effective way to transmit an instance or instances of a business object from one .NET application to another (either client -> server or server -> client)?
The answers are invariably n) Absolutely, yes, I am God's gift to rational software development; and m) [whirr-clunk as Microsoft gears engage within brain] Using disconnected System.Data.DataSets since they're already XmlSerializable!
Always gives me a laugh. Nevermind that employing such an approach basically necessitates the creation of a FOURTH boundary/"layer"/"tier" -- call it Middleware, or specifically in this hideous world, Serialization/Deserialization.
Anyway, on to my question!
Due to the headaches raised by the above subject, and the deeper object replication that goes on using .NET Remoting (e.g. regardless of what is actually transmitted down the wire, you get a complete, functional, fully type-specific object with its public/private members/properties/methods intact, with NO Reference.cs or any other whiz-bang class-redefinition machinery thrown in your face), I come upon a quandary.
In my mind, at least up til the present moment, .NET Remoting is great for applications over whose general operational control you or your company or your trusted partner will maintain for the lifecycle of said application. With this kind of organizational scenario, routers and firewalls are generally surmountable, or at least negotiable, obstacles, since you know exactly from which machine(s) or subnet(s) certain TCP packets will be sent, and exactly to which machine(s) or subnet(s) those packets will be transmitted, and on what TCP port(s).
.NET WebServices, on the other hand, are a better choice for software with an eventual goal of wider distribution to CUSTOMERS rather than colleagues or partners -- entities whose firewalls you do not control, and who will regard something as little as a request as to its status wrt your application's performance as reflecting an incredibly unprofessional design. In other words, it's not much of a limit to place on your customers that they can transmit HTTP over port 80, and/or HTTPS over port 443.
But, as I finish up the previous 4 hours of banging my head into various WebService-related walls attempting to get class instances (or even just their public data -- I know how WebServices work and I understand it's for good reason) to replicate, I have to wonder -- what kinds of problems might there be lurking in, say, a widespread commercial application, some of whose clients employ .NET Remoting to communicate with their remote servers using TCP port 80? I don't see any particular *TECHNICAL* problems that are unsurmountable -- obviously, as usage scales, there will be more of a hassle doing load-balancing types of activities compared to, say, turning on IIS clustering and walking away. But that's a problem that is entirely out-of-scope for me -- if I get there with the subject of this question, and it's my biggest problem, I will be very happy.
Anyone consider or try this in a relatively large/Enterprise-level "ASP" (in its original disambiguation, that is, an Application Service Provider hosting the requests of potentially hundreds or thousands or more clients) environment? I pulled the better part of a decade as a systems/network admin and general TCP/IP geek (UNIX/Linux), so I know that, at least as of ~2003, you couldn't tell your router (unless it had more processors than most mainstream servers in 2007) to ONLY allow traffic fitting the profile of HTTP requests out on port 80. So I don't really see any technical problems.
However, any feedback is welcome. Thanks for reading this -- my fingers tend to run away from me. :)
Source: http://community.livejournal.com/csharp/90393.html
-
New Computer Security Conference
Date: 12/31/07
(Algorithms) Keywords: software, technology, asp, security
We are excited to announce SOURCE Boston, a new computer security conference taking place in Boston, Massachusetts on March 12-14, 2008. SOURCE combines business, technology, and software development, and provides security experts an opportunity to share ideas, insights and opportunities.
SOURCE Boston will include the following:
* An intimate setting provides opportunities for networking, focused conversations, opportunities to converse with speakers and industry thought leaders * Top keynote speakers, including Steven Levy, Dan Geer, and Richard Clarke. * Special VIP evening reception * First con to combine the edginess and creativity of hacking with the professionalism of the business environment. * First computer security conference to have a track devoted to application security * Combines industry and professional sessions with edgy fun approaches * First L0pht reunion in ten years * Business track will include talks from chief executives and other key members of the management community * SOURCE Boston is organized by key industry thought leaders, including former founders of @stake, professionally published security research experts, and former NSA employees * SOURCE Boston takes place the week before St Patrick’s Day – one of the most exciting times to be in Boston. Additionally, the Hyatt rate will be extended into the weekend so attendees can experience Boston’s St. Patrick’s Day celebrations.
Additional speakers include: * Matthew Moynahan, CEO of Veracode * James Mobley, CEO of Neohapis and former CEO of @stake * Andy Jaquith, Yankee Group * Cedric Blancher, EADS * Robert Martin, MITRE * Senior Members and Founders oof Cult of the Dead Cow * Michael Rash, Author and Security Researcher
Cost: $895 per person $195 student/volunteer rate
We are also looking for volunteers to assist us during the con. Please email info@sourceboston.com for more information.
HTTP://WWW.SOURCEBOSTON.COM
Please go to http://www.regonline.com/Checkin.asp?EventId=167940 to purchase tickets.
See you in March!
Source: http://community.livejournal.com/algorithms/96641.html
-
Did Scoble break EU law on Facebook?
Date: 01/08/08
(Data Management) Keywords: asp
I've been itching to get something written about Scoble's antics over on Facebook when he used the Plaxo script to scrape data as a way of pointing up what he believes is an issue around openness and data ownership. Way too much has been written but one aspect that was...
Source: http://blogs.zdnet.com/Howlett/?p=276
-
New computer
Date: 01/18/08
(Computer Help) Keywords: asp, web, shopping
Dear LiveJournal,
I'm getting a new computer. When? I don't know. It's not going to be right away, maybe in March. I'm definitely getting one, though.
The problem is, I'm not sure what products I should get. I don't want an all-in-one computer, because, for the most part, they normally suck. I decided to surf around today for some ideas based on this data:
- Most of my time will be spent surfing the web, using online word processors and email clients.
- I'm going to be using the lightest IM client I know (AIM Lite).
- My music/video/image collection is very extensive (no more than 80GB, though).
- I'm a Windows guy, and I don't hate Vista.
- Since I'm not a big gamer, that's not a big priority (though I do play from time to time).
So, with that in mind, I went fantasy shopping. I spent about an hour before I found the products that I think fit my needs and wants.
- Acer Aspire Desktop with Intel Core2 Duo Processor E4500: I don't know much about Acer products, but this is very close to what I want. It has 3GB of RAM (I don't think I ever use more than 200MB), has a 500GB hard drive (double what I was initially looking for), and comes with a keyboard and mouse. It has Windows Vista already installed.
- Dell 22" Widescreen Flat-Panel LCD Monitor: Not much to say about this, I just find it appealing. I'm not in a hurry to find a new monitor, but I do want one.
I'm pretty confident that I've picked out the right products. What do you think? If you own either of these, please let me know how they perform, especially the Acer Desktop computer. I appreciate it!
Source: http://community.livejournal.com/computer_help/856795.html
-
printing invoice batches in a web app.
Date: 01/25/08
(Web Development) Keywords: php, asp, web
I have a system where a group is selected and invoices need to be printed for everyone in that group. I remember this sort of thing used to be done in MS Word where there was a standard template that would take input from a file of some sort to replace fields in that template.. well, I'm sure you guys get the idea. Now I need to do something like this in a web app.
Right now I'm thinking of doing it by creating a pdf file with PDFLib in php with a document page for each person/printed invoice. I'm having some problems creating PDFs, so if you have any experience with it in PHP, please share.
But aside from that, any suggestions as to how to implement a solution for this? The only server-side language I'm using for this project is PHP, so please no solutions in perl, asp, or whatever else :)
Thanks.
Source: http://community.livejournal.com/webdev/461312.html
-
Intel PRO/Wireless problem
Date: 01/27/08
(Computer Geeks) Keywords: asp
Okay, I am an idiot. I don't know anything about computers.
I accidentally deleted the Intel PRO/Wireless thingy from my programs, so now I can't connect to the internet. I have linksys, and I tried to reinstall the program on the laptop, and it wont let me. I found some sort of wireless driver online -- not that I have any clue what that is -- but it said the computer didn't have some file on it needed for the driver.
I have no clue which Intel PRO/Wireless that the computer had, and so I don't know which one i should be looking for.
I found this site: http://downloadcenter.intel.com/Detail_Desc.aspx?agr=N&ProductID=2753&DwnldID=13000
How do I know which one to pick? Is this what I need in order to connect to the internet? The internet won't connect even with a wire now.
Grrrrr. Please help!!! Thank yoooou.
Source: http://community.livejournal.com/computergeeks/1147368.html
-
VB.NET
Date: 02/04/08
(Web Development) Keywords: asp
I'm making a windows appication in VB.NET (note, NOT ASP.NET) and I was wondering if anyone has any idea of how to open a new excel file and insert a table into it from a datagridview (or a dataset).
I was trying to do it with ADO.NET with an ACE 12.0 connection, but no dice.
Does anyone have a cool function to help me out?
VB.NET 2005 Windows Excel 2007
Source: http://community.livejournal.com/webdev/464576.html
-
Sending an email
Date: 02/04/08
(Asp Dot Net) Keywords: asp
I need to send an email in asp.net 2.0 and cant seem to get it working.
Whenever I run the code below I get a "Failure sending mail." error from the Catch.
I know the email settings are correct but I just cant send an email through code.
Can anyone see anything wrong with my code ?
try {
string RecipientEmailAddress = Membership.GetUser("nathan").Email;
//create the mail message MailMessage mail = new MailMessage();
//set the addresses mail.From = new MailAddress("test@phalkensystems"); mail.To.Add("nathan.rimmer@gmail.com");
//set the content mail.Subject = "This is an email"; mail.Body = "this is the body content of the email.";
//send the message SmtpClient smtp = new SmtpClient();
smtp.Host = "smtpout.secureserver.net"; smtp.Port = 70;
//to authenticate we set the username and password properites on the SmtpClient smtp.Credentials = new System.Net.NetworkCredential("test@phalkensystems", "xxxxxxx"); smtp.Send(mail);
}
catch (Exception ex) { Label1.Text = ex.Message.ToString(); }
Source: http://community.livejournal.com/aspdotnet/95284.html
-
Remote connections that aren't remote.
Date: 02/07/08
(C Sharp) Keywords: browser, database, asp, sql, web, google
This is both a SQL Server 2005 and a C# question, so I'm posting it in the community that probably isn't as sick of me asking questions yet...
I've googled this extensively for the past two hours. All of the pages I'm coming up with either (a) have something to do with ASP, (b) have something to do with surface area configuration, and/or (c) have something to do with SQL Express. None of these is the case with my problem.
I'm trying to create a data source in a C# project. When I test connection (or just try to hit OK), I get the following error:
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.
I am using SQL Server 2005 Standard Edition. Both the SQL Server engine and the database are on my computer, though they are on different drives. I can connect to the database with SQL Server Management Studio (I've been building it all morning in Management Studio). Despite it not being my problem, I have checked Surface Area Configuration, and "Local and remote connections" is checked. I have stopped and started SQL Server Browser, as I have also been advised to do by some pages, with no effect. This is a Windows Application, not a Web Application, and there is no ASP involved.
Anyone have any ideas of what might be causing this problem other than remote connections? Thanks.
Source: http://community.livejournal.com/csharp/92288.html
-
Firefox 3 beta 3 has more Vista, Mac, Linux look-and-feel
Date: 02/13/08
(Open Source) Keywords: browser, asp, security
Firefox 3 beta 3 was released as expected on Tuesday with more than 1300 improvements since beta 2.
Most of the changes are improvements and enhancements to the user interface, ease-of-use, performance and security aspects of the browser, the Mozilla foundation announced on Tuesday night.
As promised, beta 3 sports a more Vista-like look-and feel [...]
Source: http://feeds.feedburner.com/~r/zdnet/open-source/~3/234382490/
-
Trojan and anti-virus question
Date: 02/13/08
(Computer Help) Keywords: asp, virus
Ok last night my roommates computer got a bad backdoor virus which her anti-virus program let get pass. She saved some of her artwork (they were mostly jpg and png files) to an usb port but she’s afraid to put it back on for fear it has the Trojan on it. Can backdoor Trojans attach themselves to files, jps, and pngs? Also can trojans and spywear attach themselves to mp3’s?
We did get her computer rebooted but she lost everything, including her anti-virus program. Were wondering what’s a good anti-virus program to use? Please don’t mention McAfee, were have both had bad experiences with it so it is not an option. She read a few reviews that said kaspersky was good, anyone have any good experience with that?
Any input you can give us is much appreciated. Thanks!
(( x-posted ))
Source: http://community.livejournal.com/computer_help/864887.html
-
Reading Page Content of remote web page
Date: 02/15/08
(Asp Dot Net) Keywords: asp, web
Hi there, For my project I need to read an external web page and then parse the content. What I have found on the internet is for asp: <% url = "http://www.espn.com/main.html" set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP") xmlhttp.open "GET", url, false xmlhttp.send "" Response.write xmlhttp.responseText set xmlhttp = nothing %> And I need the same for ASP.NET 2.0 Can anybody show me how to do that? Thank you.
Source: http://community.livejournal.com/aspdotnet/96005.html
-
BAsfIpM.exe hangs up my shutdown
Date: 02/24/08
(Computer Geeks) Keywords: asp, virus, spyware
Recently, a file called BAsfIpM.exe has been starting up on my Dell Latitude D600 (running XP). When I try to shut down, this file hangs up the shutdown (or hibernation). I know it's that one, because if I close it via the task manager, shut down goes smoothly. A search shows that it's a 72KB file located in two places: c:\I386, and c:\windows\system32. I've searched for information about this file and I find totally contradictory information, from "Wipe it" to "It's critical to have it!" In response to the theory that it's spyware or a virus, I've run AVG and Kaspersky Virus checkers and a couple of spyware checkers, but nothing comes up. Any ideas? How can I get my laptop back to just shutting down properly? Thanks!
Source: http://community.livejournal.com/computergeeks/1154123.html
-
The EU: Too much control over the tech sector (and Microsoft) ?
Date: 02/25/08
(Security) Keywords: technology, asp, microsoft
You can't understand the technology deals without being fluent in EU regulator-speak. And you also can't grasp Microsoft's next move without pondering what the European Union will do. Luckily, the Wall Street Journal shed a little light on the EU's antitrust chief Neelie Kroes. Kroes is the one...
Source: http://blogs.zdnet.com/BTL/?p=8082
-
A green roundhouse
Date: 02/26/08
(Web Technology) Keywords: asp
According to Forbes, two architects are building a roundhouse to make it more energy-efficient. The architects claim that their 'new methodology dramatically improves all aspects of the design and construction of buildings.' Their first realization 'will be a 13,000-square-foot residence set on a 3.25-acre lot in the canyons above Beverly...
Source: http://blogs.zdnet.com/emergingtech/?p=846
-
Virtual Appliances: Once and done philosophy in action
Date: 02/28/08
(Security) Keywords: technology, asp
Suppliers offering "virtual appliance servers" have often stopped by to brief me on their products and how they're going to take over the market in some segment or another. The most recent example was a really interesting discussion I had with Dave Asprey, VP of Marketing for Zeus Technology, about...
Source: http://blogs.zdnet.com/virtualization/?p=352
-
debugging SWF files
Date: 02/29/08
(Web Development) Keywords: php, asp, web
I am moving this small web site over from ASP to PHP. It includes a few Flash files, many of which are not working on the new site. How can I find out what is not working if I can't open the SWF for editing? im hating flash right now...
Source: http://community.livejournal.com/webdev/469788.html
-
Show/Hide password
Date: 03/04/08
(C Sharp) Keywords: asp
I have an ASP.NET application that I need to allow the user to view the input of a textbox with the textmode set to password by checking/unchecking a checkbox. I tried to just change the textmode to singleline and repost but that didn't work. Has anyone ever accomplished this. I am sure it is an easy implementation but I think I may be over complicating the issue.
Thanks
Source: http://community.livejournal.com/csharp/94287.html
-
ComboBoxes in two pages.
Date: 03/12/08
(Asp Dot Net) Keywords: programming, asp, web
Hi. I'm newbie both in ASP.NET and in web programming, so my question may be dumb. Sorry if so. I have two pages in my project and each page contains combo box. Comboboxes bind to one data source. I need to solve following task: if user select combo box item in one page, the same item must be selected in another page automatically. Is there any ways to do this or it's impossible?
Source: http://community.livejournal.com/aspdotnet/97019.html
-
Mono project releases first IDE, Mono 2.0 into beta
Date: 03/16/08
(Open Source) Keywords: asp, linux, microsoft
Novell’s Mono project has delivered its first Integrated Development Environment (IDE) for Mono as well as a beta version of the next Mono platform.
MonoDevelop 1.0, with support for Microsoft’s .NET Framework 1.0, is an open source IDE for Linux developers building GNOME and ASP.NET applications. The IDE complements the Mono open source platform, which [...]
Source: http://feeds.feedburner.com/~r/zdnet/open-source/~3/252474485/
|