Re: VS2012 web app precompile

2013-10-02 Thread Greg Keogh
. Then under the connection tab (which it navigates to automatically) you can change the type of deployment to File System. The rest should be familiar hopefully. On Thu, Oct 3, 2013 at 11:34 AM, Greg Keogh g...@mira.net wrote: Folks, before VS2012 you could right-click a web application project

Re: compression library

2013-10-03 Thread Greg Keogh
Beware that System.IO.Compression before 4.5 can only deflate/inflate streams, and although the two provided algorithms are standards, I never dared use them outside of the boundary of a single app. From 4.5 you get ZIP support. I am currently using free SharpZipLib on the server side on

Re: webservices

2013-10-03 Thread Greg Keogh
I feel like my method is outdated! I hope not, as we have an important web service feeding apps in WinForms, Silverlight and ASP.NET. Because it has to be open, almost everything going in and out is an xml fragment that is optionally compressed as base64 strings. We are even considering an

Re: webservices

2013-10-03 Thread Greg Keogh
Seems too heavy…what type of object are you passing through the service? Serialized xml, bytes? Strangely enough, most of what's coming back from the server is not defined as a class or type of object at all, it's a report definition (rows, columns, titles, totals, etc) which get

Creating DLLImports

2013-10-07 Thread Greg Keogh
Folks, I've got some DLLs written in Borland C++ with functions that I have to import for use in some C# code. I can see the functions inside the DLLs using depends.exe, but I can't get the signatures correct and I get unbalanced stack errors runtime due to mismatching signatures. Is there some

Re: Creating DLLImports

2013-10-08 Thread Greg Keogh
Have you tried this: https://clrinterop.codeplex.**com/https://clrinterop.codeplex.com/It's *meant* to do make things easier. Hi Les, I was hoping for a tool like this. I haven't downloaded, but the docs say it reads the C/C++ source to make managed methods, which makes me wonder... Surely

Re: Creating DLLImports

2013-10-08 Thread Greg Keogh
. Greg On 8 October 2013 11:29, Les Hughes l...@datarev.com.au wrote: Greg Keogh wrote: Folks, I've got some DLLs written in Borland C++ with functions that I have to import for use in some C# code. I can see the functions inside the DLLs using depends.exe, but I can't get the signatures

In praise of T4 code generation

2013-10-12 Thread Greg Keogh
Folks, A few years ago I wrote (or rewrote) a quite large WPF Desktop app, it's my hobby app like a lot of us have. It maintains RDB tables of the music, books, video, etc in the household. This app was started in Access 2.0 back in 1992 and I think it's gone through at least 6 generations of

Re: In praise of T4 code generation

2013-10-13 Thread Greg Keogh
I gave up on T4 in frustration a long time ago. We use CodeSmith - we find it easy to use and quick to get things done. Having read this, might look at T4 again now and see if it's improved. I'm actually a licensed owner of CodeSmith 5.2, which I purchased a few years ago so I could use it

Re: In praise of T4 code generation

2013-10-13 Thread Greg Keogh
I love T4 as well. Thank heavens, I was starting to think I was a deviant. The first Tangible addons occasionally crashed on me too, but for the last year or more I've been keeping updated and can't recall any problems in that time, but, my demands are probably modest compared to yours -- Greg

[OT] FTP client problems

2013-10-16 Thread Greg Keogh
Folks, I'm getting conflicting behaviour in FTP clients on our new server. We installed an app in this new server and it died attempting to GET a file from a remote FTP server. So I ran ftp.exe from the command prompt to do the same thing as the app does in code to see what happens (thinking that

Re: [OT] FTP client problems

2013-10-16 Thread Greg Keogh
Did you miss this step from Jorke’s post? Yeah, look, it's not Friday and I'm up shit creek -- Greg

Re: [OT] FTP client problems

2013-10-16 Thread Greg Keogh
Connors da...@connors.com wrote: On Thu, Oct 17, 2013 at 1:47 PM, Greg Keogh g...@mira.net wrote: Chaps, FileZilla or Wireshark! The former I haven't used and I won't learn anything if works or nor, unless it has some tracing facility. You will learn exactly what the problem is. If it works

Re: [OT] FTP client problems

2013-10-17 Thread Greg Keogh
Re: prescription - it isn't polite to make fun of people with mental illnesses. http://www.riagenic.com/archives/934 Good lord, what little chance would I ever have of seeing that post or knowing such a thing?! It was a surprising coincidence (apologies to Scott just in case) -- Greg

Re: [OT] FTP client problems

2013-10-17 Thread Greg Keogh
David, we suspected a firewall at first, but it was ruled out a few days ago. If ftp.exe doesn't do PASV at then I was accidentally wasting my time. Web searches on this matter now hint that you're right, but I would never have guessed such a stupid thing could be true. My little C# client is

Re: Problem with FileSystem.DeleteFile method in root directory

2013-10-17 Thread Greg Keogh
Ian, years ago I remember seeing a QA about how to NOT send things into the recycle bin, and I vaguely recall it required a Win32 API call probably in shell32. If you can find that call and reverse the flag it might do what you want. Wait, it might be

Re: [OT] FTP client problems

2013-10-17 Thread Greg Keogh
You do need a higher end firewall though. I didn't want to confuse matters previously, but now things have calmed down I can add that the offending server is actually inside an Amazon AWS server instance. I turned off the Windows firewall ages ago, but Amazon have their own Security Group

Re: Problem with FileSystem.DeleteFile method in root directory

2013-10-17 Thread Greg Keogh
...@ozdotnet.com [ mailto:ozdotnet-boun...@ozdotnet.com ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Greg Keogh *Sent:* Thursday, October 17, 2013 8:25 PM *To:* ozDotNet *Subject:* Re: Problem with FileSystem.DeleteFile method in root directory ** ** Ian, years ago I remember seeing a QA

Visual Studio 2013 and setup projects

2013-10-21 Thread Greg Keogh
Folks, I just installed the official (I hope) VS2013 in a fresh Windows 7 for a bit of a feel around. I haven't look deeply yet but it all looks fairly okay and I see that some of the old extensions are now built-in. Because I was accidentally burned by the removal of vdproj projects from VS2012

Re: Visual Studio 2013 and setup projects

2013-10-21 Thread Greg Keogh
... On Tue, Oct 22, 2013 at 7:31 AM, Greg Keogh g...@mira.net wrote: Folks, I just installed the official (I hope) VS2013 in a fresh Windows 7 for a bit of a feel around. I haven't look deeply yet but it all looks fairly okay and I see that some of the old extensions are now built-in. Because I

Re: Visual Studio 2013 and setup projects

2013-10-21 Thread Greg Keogh
Anything beyond that, like getting it to install dependencies, or even getting support you'll either be scraping together some coin to pay to Flexera for a real version or migrating to Wix. Judging by the What's new in

Re: Visual Studio 2013 and setup projects

2013-10-22 Thread Greg Keogh
There are certainly a lot of rude comments about Flexera and Microsoft’s disregard for developers requiring install software. Indeed! I found a fair swag of angry comments from irritable and frustrated people and journals during searches later in the day. I ran haphazard searches for various

Re: Visual Studio 2013 and setup projects

2013-10-22 Thread Greg Keogh
why is it so hard to create an installer project, I wonder? It's an axiom, they are hard to make by design. Have you ever seen the API and the structure of the internal tables? Whoa! There are worse around, but they still look like a creation of someone on the autism spectrum. Ever tried to

WiX and VS2013 integration

2013-10-23 Thread Greg Keogh
I finally found a link at http://www.joyofsetup.com/2013/09/13/getting-from-here-to-there-for-wix-v3-8/which says that WiX 3.8 with VS2013 integration will be available by Halloween (luckily Australians know what Halloween means thanks to *The Simpsons*). However I can't find any other evidence

Re: WiX and VS2013 integration

2013-10-24 Thread Greg Keogh
...@ozdotnet.com ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Greg Keogh *Sent:* Thursday, October 24, 2013 7:10 AM *To:* ozDotNet *Subject:* WiX and VS2013 integration ** ** I finally found a link at http://www.joyofsetup.com/2013/09/13/getting-from-here-to-there-for-wix-v3-8/which says

Re: WiX and VS2013 integration

2013-10-24 Thread Greg Keogh
You can't judge a book by its cover, unless its a book about book covers? Since it's Friday, I have the book titled A Perfect Vacuumhttp://en.wikipedia.org/wiki/A_Perfect_Vacuumby Stanislaw Lem which is a book of book reviews of non-existent books. Except the introduction, which is a real

In [delayed] praise of NuGet

2013-10-25 Thread Greg Keogh
When I played with NuGet after it's first arrival I was irritated by it because it obscured how things worked. I didn't know how solution packages related to different versions of the same product I had previously MSI installed. I didn't know what the minimum necessary files were to reconstruct

Re: WCF and paramless constructor.

2013-10-25 Thread Greg Keogh
I don't think deserializing objects requires a parameterless constructor. I think Richter discuss this in CLR via C# and tells us that deserialized objects don't even have the ctor run. Can anyone confirm my memory is not failing me? -- Greg K On 25 October 2013 23:58, David Rhys Jones

SQL Server Management Studio dependencies

2013-11-02 Thread Greg Keogh
Here's a bit of a warning ... Last week I uninstalled VS2010 as it was running alongside VS2012 and it was of no use any more. Tonight I launch SSMS 2012 and it says required components are missing and tells me to reinstall. Web searches produce lots of hits, and suggestions about deleting

Re: SQL Server Management Studio dependencies

2013-11-02 Thread Greg Keogh
So running repair on SSMS 2012 would have just put back the components of the VS2010 shell. Oh drats! That's the reverse of what I'm trying to do. I've got to figure out how to utterly remove VS2010 (if it's possible). When I finish today's hobby coding I'll run a global search through the

Re: SQL Server Management Studio dependencies

2013-11-02 Thread Greg Keogh
. Regards, Greg Dr Greg Low 1300SQLSQL (1300 775 775) office | +61 419201410 mobile│ +61 3 8676 4913 fax SQL Down Under | Web: www.sqldownunder.com *From:* ozdotnet-boun...@ozdotnet.com [ mailto:ozdotnet-boun...@ozdotnet.com ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Greg Keogh

Re: compression library

2013-11-04 Thread Greg Keogh
*) --- *From:* ozdotnet-boun...@ozdotnet.com [mailto: ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Greg Keogh *Sent:* Friday, 4 October 2013 10:32 AM *To:* ozDotNet *Subject:* Re: compression library Beware that System.IO.Compression before 4.5 can only deflate/inflate

[OT] VMware Player multiple monitors

2013-11-04 Thread Greg Keogh
Does anyone here use (and like) VMware Player and have it using multiple monitors? Web searches give no specific instruction for Play on how to use multiple monitors. There are instructions for Workstation. So I suspect that Player can't do it, but Workstation can. Is that right? Otherwise, what

Re: [OT] VMware Player multiple monitors (addendum)

2013-11-04 Thread Greg Keogh
Any reason to not use VM Workstation? Not other I've never looked at it. I don't think it's free though. I'm looking at feature comparisons. I eventually found this: *A big difference that i notice is that VM workstation allows you to use multiple screens on the virtual machine. vmware player

Re: [OT] VMware Player multiple monitors (addendum)

2013-11-04 Thread Greg Keogh
a bare-bones host OS and using Player to run my real OS and some other testing ones. A licenced copy of Workstation is still a candidate if it has extra features that I will use. Greg K On 5 November 2013 16:06, Greg Keogh g...@mira.net wrote: This is exactly the setup I have Well, that's

[OT] Online task management tool

2013-11-05 Thread Greg Keogh
Folks I was browsing around today for a free online project management tool, but there are too many choices. We have 4 people who need a relatively simple facility to share sets of issues or tasks for a few related software development projects. Many I've seen are free for small scale use, but

Re: [OT] Online task management tool

2013-11-05 Thread Greg Keogh
tool Tfs online has that stuff built in and it's included under your msdn subscription. (Tfs.visualstudio.com) On 05/11/2013 3:59 PM, Greg Keogh g...@mira.net wrote: Folks I was browsing around today for a free online project management tool, but there are too many choices. We have 4 people

Runtime log4net configuration

2013-11-09 Thread Greg Keogh
Folks, this post is partly a reminder to myself and anyone else who goes through the searching and suffering of how to configure log4net at runtime. Log4net is well featured, but web is fully of kiddy examples that only use xml config files, and any serious app is going to have to change things at

Re: Runtime log4net configuration

2013-11-16 Thread Greg Keogh
Why would you need to change the logfile? In any non-trivial app with logging I sent log files (and other files) here: %LOCALAPPDATA%\Company\Product\Ver I don't know a way of encoding this path directly into a log4net configuration, it needs a bit of early startup code to set it. Although I

Re: Runtime log4net configuration

2013-11-17 Thread Greg Keogh
If you want more detailed discussion you should include whether you are using fttn, fttn, fttb, etc etc.. Yes, apparently some people have been discussing this, I noticed, in here. Who the hell has fibre to anything? A few days ago I was in the AWS server instance provisioned in the US west

Re: [OT] Going cloudy with metaballs

2013-11-17 Thread Greg Keogh
the big picture just yet and see how I would migrate to it. Greg On 18 November 2013 10:43, David Connors da...@connors.com wrote: On 17 November 2013 17:35, Greg Keogh g...@mira.net wrote: The last hurdle is the domain controller. I'm not sure how I can have a DC in the cloud, has anyone

Re: [OT] Going cloudy with metaballs

2013-11-21 Thread Greg Keogh
Folks, thanks for the detailed feedback. It looks like putting my DC in the cloud is overkill, and not commonly done. For now I'll stick to the box under the desk. Everything is going cloudy (backups, source control, mail, tasks, etc) so I consider that a good enough start. Although I was

[OT] Public SQL Server

2013-11-22 Thread Greg Keogh
Folks, I want to connect to SQL Server Express on my home server from the outside world. My router forwards tcp 1433 to the correct machine. I can see port 1433 visible but closed in Gibson's port scan. Attempts to connect time out. I'm guessing therefore that I've missed some setting inside SQL

Re: [OT] Public SQL Server

2013-11-22 Thread Greg Keogh
1434 just in case the sql browser needs this, but it makes no difference -- Greg On 23 November 2013 09:21, Greg Keogh g...@mira.net wrote: Folks, I want to connect to SQL Server Express on my home server from the outside world. My router forwards tcp 1433 to the correct machine. I can see

[OT] Public SQL Server [answer found]

2013-11-22 Thread Greg Keogh
It's all to do with dynamic and static ports, something I haven't anyone discuss before. http://technet.microsoft.com/en-us/library/ms177440.aspx I deleted the Dynamic Ports 0 and added TCP Port 1433 in all the IP settings. I don't know if all need to be changed, but I haven't got time to debug

[OT] Redirecting to Gmail

2013-11-25 Thread Greg Keogh
Folks, is there a way of getting email sent to my wife's business domain to go into her Gmail account? I'll can point her DNS record to somewhere (?) for Gmail to accept it, but I don't know how Gmail would feel about being an SMTP proxy for me. Can this be done? -- Greg K

Re: [OT] Redirecting to Gmail

2013-11-25 Thread Greg Keogh
Google Apps doesn't seem to have a free version any more, unless I've missed it. However I've opened a 30 day trial of Google Apps to see if it has the feature to redirect a domain's email to Gmail Now the admin page for my DNS records is nonsensical and I can't find an advanced way of adding MX

Re: [OT] Redirecting to Gmail

2013-11-26 Thread Greg Keogh
let you set up the send as feature (I think, its been a while...) On Tue, Nov 26, 2013 at 7:23 AM, Greg Keogh g...@mira.net wrote: Google Apps doesn't seem to have a free version any more, unless I've missed it. However I've opened a 30 day trial of Google Apps to see if it has

Re: [OT] Redirecting to Gmail

2013-11-26 Thread Greg Keogh
the send as feature (I think, its been a while...) On Tue, Nov 26, 2013 at 7:23 AM, Greg Keogh g...@mira.net wrote: Google Apps doesn't seem to have a free version any more, unless I've missed it. However I've opened a 30 day trial of Google Apps to see if it has the feature to redirect

Re: [OT] Public SQL Server [answer found]

2013-11-26 Thread Greg Keogh
...@ozdotnet.com [mailto: ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Greg Keogh *Sent:* Saturday, 23 November 2013 10:03 AM *To:* ozDotNet *Subject:* [OT] Public SQL Server [answer found] It's all to do with dynamic and static ports, something I haven't anyone discuss before. http

[OT] Email forwarding

2013-11-28 Thread Greg Keogh
Hello Friday Folks, For more than 10 years I've had some DNS records maintained by DynDns. Some are free and some are $30/year because they later removed the free service. I just received an email from their sales to tell me that if I want MX wildcard forwarding of email from my five domains it

[OT] Facebook advertising

2013-11-30 Thread Greg Keogh
Hmmm! I just went into Facebook for the first time in a couple of weeks and I happened to notice an Ad at the top right for a DNS service. Now isn't that suspicious, as I just happened to mention this topic in the group last week and I've sent a few emails on the subject. Where did it get the data

Re: [OT] Facebook advertising

2013-11-30 Thread Greg Keogh
No, it's a security and privacy issue. I refuse to change the way I think about something corrupt, greedy, invasive and opportunist, and so should you. On 1 December 2013 10:57, Stephen Price step...@perthprojects.com wrote: Its called targeted advertising. If you don't want to see ads, the

Re: [OT] Facebook advertising

2013-12-01 Thread Greg Keogh
Ken, you may have got a whiff of a hint that I don't like advertising, no matter where or why it's in front of me, or what deal put it there. I find targeted advertising particularly frightening and objectionable, it's a kind of perversion of technology. I have no sympathy for advertisers. The

Re: [OT] Email forwarding

2013-12-01 Thread Greg Keogh
+1 to AWS Route 53. Gives us everything we need, and very cheap. Thanks, this is now looking quite attractive, as I'm running an AWS server and I just noticed I get Route 53 as part of the account -- Greg

Re: [OT] Facebook advertising

2013-12-01 Thread Greg Keogh
Has this any chance of attracting enough people to survive? *Encrypted social network vies for disgruntled WhatsApp, Facebook users

Re: [OT] Facebook advertising

2013-12-01 Thread Greg Keogh
Adsense is Google's product for the phenomena. On this page in gmail, I see ads for Social Media Metrics, Restaurants in Melbourne (one of you guys) Low home rate loans, painter quotes, Debt consolidation, Tafe courses. In Facebrick I keep seeing pulsating bloated cartoon tummies on the top

Re: [OT] Facebook advertising

2013-12-01 Thread Greg Keogh
I'm glad the subject of 1984 finally came up in the context of advertising. When I read Orwell's book in early high school it had a deep and lasting influence over me. Even since I have been very sensitive to propaganda, double-speak, weasel words and varieties of fallacious argument techniques;

Re: [OT] Cookies cleanup

2013-12-12 Thread Greg Keogh
Best bet is to uninstall your browsers. I challenge you to uninstall Internet Explorer! It won't help anyway, as they're transmitting ads into my brain while I'm asleep. Even the tin-foil around my head isn't helping -- Greg K

ASMX vs SVC basicHtpBinding

2013-12-17 Thread Greg Keogh
Folks, I recently had a write a few web services and I had the choice of using SVC with basicHttpBinding or the traditional ASMX Web Service. The services only need to behave like simple libraries, passing strings and simple class types back and forth. I've said before I think WCF is an overweight

Re: ASMX vs SVC basicHtpBinding

2013-12-17 Thread Greg Keogh
Ridland *Sent:* Tuesday, December 17, 2013 5:55 PM *To:* ozDotNet *Subject:* Re: ASMX vs SVC basicHtpBinding WebAPI with JSON? http://www.asp.net/web-api Or if you want to have some fun you could use Node.js? Or there's NancyFX? On Wed, Dec 18, 2013 at 9:43 AM, Greg Keogh

SQLite trouble again

2013-12-21 Thread Greg Keogh
I've just spent 18 man-hours installing a fresh Windows 7 on a new SSD and I'm about 80% done. I'm also upgrading to Visual Studio 2013. It took 2 hours to get IIS working with correct permissions and pools. It took 2 hours to install Sibelius 7. It took an hour to get the Epson scanner and

Re: SQLite trouble again

2013-12-21 Thread Greg Keogh
Have you tried Installing it from nuget: http://www.nuget.org/packages/System.Data.SQLite/ Yes, from inside VS2013, adding it to the project. The very simple project with nothing but a previously generated and working EDMX file in it won't build due to: *The ADO.NET http://ADO.NET provider

Fwd: SQLite trouble again

2013-12-21 Thread Greg Keogh
, Greg Keogh g...@mira.net wrote: Have you tried Installing it from nuget: http://www.nuget.org/packages/System.Data.SQLite/ Yes, from inside VS2013, adding it to the project. The very simple project with nothing but a previously generated and working EDMX file in it won't build due

Re: SQLite trouble again

2013-12-21 Thread Greg Keogh
It's a nuisance, but you can use procmon to watch the registry accesses in real time I actually used it to watch the file system and there were no problems, however I didn't think of watching the registry. I just tried it and it produces so much output that it would take me hours to figure

Gotcha with strong names

2013-12-21 Thread Greg Keogh
After rebuilding my machine I forgot to register my key in the CSP like this: sn -i foobar.snk MyCompany Hours later I ran VS2013 as Admin and my compiles failed because the CSP name wasn't found and signing failed. I had to do this to make keys user specific: sn -m n The help on the switches

[OT] SDK versions

2013-12-22 Thread Greg Keogh
I was wondering if I needed to install one of the Windows SDKs after my big reinstall. Last year I had to put SDK 7.1 x64 in for some reason I can't remember about some utilities. I just noticed I now have these folders after a vanilla install of development products: *C:\Program Files

Debugging Web API

2013-12-22 Thread Greg Keogh
Folks, I'm writing my first Web API today because I found that a Borland C++ client can not easily consume a SOAP service. You can run the Borland wsdl utility on the service, but the .h file it generates doesn't look very useful. I'm trying a Web API service as an alternative. I'm running

Re: Debugging Web API

2013-12-22 Thread Greg Keogh
http://blogs.msdn.com/b/webdev/archive/2013/04/04/debugging-asp-net-web-api-with-route-debugger.aspx I tried following this and adding a Nuget package, but it bloated the tiny project to a huge size and it wouldn't show the cshtml page when I set it as the start page. It made such a mess I

Web API authentication

2013-12-22 Thread Greg Keogh
Folks, in SVC or ASMX services I usually have a method like Authenticate(...) which takes credentials and returns some sort of token which is used for subsequent calls from the same client. The token can be passed out-of-band in a header so the client doesn't have to be bothered by it. I'd like

Re: Debugging Web API

2013-12-23 Thread Greg Keogh
If my memory serves me correctly, I believe you can run the Web API solution and call the API from Fiddler. Any breakpoints you set will be hit. I am pretty sure that this has worked for me. I'll try that, and I have to install a fresh Fiddler on my new system anyway. I remember last time I

Re: Debugging Web API

2013-12-23 Thread Greg Keogh
The book mentioned the issue re fiddler with supporting localhost (with IE) – but the latest version worked for me straight out of the box. It’s interesting to watch what packets are going on your machine (more like scary). Indeed .. in praise of Fiddler I must say I haven't used it for a

Re: Debugging Web API

2013-12-26 Thread Greg Keogh
In my VS solution my WebAPI project is set as the startup project. I run it with debugging and it just sits there running. Dave, when I do that same I get: HTTP Error 403.14 - Forbidden The Web server is configured to not list the contents of this directory. Which is perfectly expected.

[OT] Machine restart lock-up

2013-12-26 Thread Greg Keogh
Folks, since I installed a fresh Windows 7 in a SanDisk 256GB SSD last weekend my machine has developed an irritating disease: It locks up when restarted/rebooted. Only by turning the power off and then back on will it restart. Unless the power is turned off, a restart locks up at the end of the

Re: [OT] Machine restart lock-up

2013-12-26 Thread Greg Keogh
Busted SSD? I had a similar one that was hanging at random times. Returned it back and got a replacement without any questions asked by the shop Jehovah I hope not! Although 3 times in 20 hours I did get a *boot disk failure press Atl+Ctrl+Del to reboot* and it came good each time. I wrote

Re: Debugging Web API

2013-12-26 Thread Greg Keogh
Sorry Greg, I am out all day. Will have a look tonight and get back to you. What sort of project are you using? I think I created an empty ASP.NET project then added the directory structure for Web API using one of the wizard steps. Then I right-clicked and added controllers, etc. Details are

Re: Debugging Web API

2013-12-29 Thread Greg Keogh
Sorry I haven't got back to you as promised. School holidays and kids have gotten in the way. I will get back to you tonight. Don't panic, I return to REST experiments on Friday. For the last week, as a hobby, I've been writing a T4 template that generates complete CRUD classes over an Esent

Re: [OT] Machine restart lock-up

2013-12-30 Thread Greg Keogh
...@ozdotnet.com] *On Behalf Of *Greg Keogh *Sent:* Thursday, December 26, 2013 3:55 PM *To:* ozDotNet *Subject:* [OT] Machine restart lock-up Folks, since I installed a fresh Windows 7 in a SanDisk 256GB SSD last weekend my machine has developed an irritating disease: It locks up when restarted

COM class not found as admin

2014-01-02 Thread Greg Keogh
Folks, my holiday machine rebuild broke a WCF service that calls a COM component. I know the COM class is registered as I can call it from NUnit tests, a command line app and I even browse to it from IE and I see it respond. Running or debugging the project in VS2013 as Administrator gives

Fwd: COM class not found as admin

2014-01-02 Thread Greg Keogh
Procmon is showing me that the apps that work correctly are reading the COM registration from this key: HKCR\Wow6432Node\CLSID\{8760F575-2E30-4F35-80C8-44D9D77E0D92} Whereas the failure running in VS2013 shows it reading this key and failing NOT FOUND:

Re: COM class not found as admin

2014-01-02 Thread Greg Keogh
to have variations like this. Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) Sent via Windows Phone 8 -- From: Greg Keogh g...@mira.net Sent: 3/01/2014 1:00 PM To: ozDotNet ozdotnet@ozdotnet.com Subject: COM class not found as admin Folks, my holiday machine rebuild broke

Re: COM class not found as admin

2014-01-03 Thread Greg Keogh
Sounds like enable 32bit apps in application pool settings. That was one of the pool settings I twiddled without any effect (I thought it was a great candidate for being involved) -- Greg

Re: Recommendations for ASP.Net MVC book

2014-01-04 Thread Greg Keogh
Hi Iain, your message is well timed, as I'm also jumping head first into ASP.NET MVC because it seems popular and I'm hoping to find a neater alternative to the bloated mountain of gotchas that is WebForms. I had this book delivered two weeks ago: Programming ASP.NET MVC 4: Developing Real-World

SQLite VS2013 available

2014-01-13 Thread Greg Keogh
Good news everyone! On a whim I had a look and found that the SQLite folks have released this file: http://system.data.sqlite.org/downloads/1.0.90.0/sqlite-netFx451-setup-bundle-x86-2013-1.0.90.0.exe Which has the latest ADO provider and SQLite runtime with VS2013 design support. I had to

Web API Debugging

2014-01-14 Thread Greg Keogh
I accidentally solved the problem of how to debug and break a Web API app in Visual Studio. I had to add a plain htm file to the project so I could redirect there for help when a bad url was requested. That bit of controller code looks like this, just in case it's of interest: string authority =

Mixing platforms

2014-01-14 Thread Greg Keogh
Folks, I'm coding in a 64-bit Windows. I thought a project compiled with Platform Any CPU could load and use classes in another library compiled as Platform x86. But I'm wrong, and surprised. My sanity check is a tiny DOS command with Any CPU referencing and calling a method in another library

Re: Mixing platforms

2014-01-14 Thread Greg Keogh
You have 32bit runtime installed on that box? I guess so, I have seen the pairs of folders down under the Windows folders. I thought you had no choice about which Platform of Framework runtimes are installed, as it was chosen at install time for the OS environment -- Greg

Re: Mixing platforms

2014-01-15 Thread Greg Keogh
A windows *process* is either 32-bit or 64-bit, never both. There is no such thing as an Any CPU *process*. A 64-bit process cannot load 32-bit object code, ever[1]. On 64-bit Windows, a 64-bit process cannot load a 32-bit dynamic-link library (DLL). Well, that's the definitive statement. I

Re: Mixing platforms

2014-01-15 Thread Greg Keogh
If it’s managed, and no native, why not a simple recompile? My experiment with Any CPU calling x86 was a sanity check before expanding to isolate some real native code. There are multiple issues at play here ... I will soon be given a fresh Borland C++ DLL which used to be a COM server, but

Inter-Process isolation

2014-01-15 Thread Greg Keogh
Folks, I knew it would work, but just in case it's of interest I can report that a parent Any CPU process can start a child x86 process which can Interop with native 32-bit DLLs. I opened a mini WCF server with TCP binding in the child and a corresponding WCF client in the parent. Then the parent

Windows Internals 6th edition

2014-01-15 Thread Greg Keogh
Folks, just FYI - I had two books just arrive by courier: Windows Internals Part-1 http://shop.oreilly.com/product/0790145305930.do and Windows Internals Part-2 http://shop.oreilly.com/product/0790145344403.do I had no idea until I looked just now, but both books are available as PDFs from

Re: Windows Internals 6th edition

2014-01-15 Thread Greg Keogh
Aren’t those links just to rip-off sites? I notice that the books are still available for purchase elsewhere. Ooops I dunno, I linked to the first pictures of the covers I could find in a Google. I just assumed they were some generic book website. I hope I haven't accidentally endorsed some

Re: Inter-Process isolation

2014-01-16 Thread Greg Keogh
Nitpicking, but bear in mind that there's no such thing as an Any CPU ‘process’ of course. Indeed, your nit is a good editor, but even he'd be crazy to fiddle with CorFlags http://msdn.microsoft.com/en-us/library/ms164699(v=vs.100).aspx. Greg K

[OT] 43°C here

2014-01-16 Thread Greg Keogh
I'm 1.53 km from Moorabbin Airport tower which shows: METAR YMMB 170300Z AUTO 34013KT // NCD 43/08 Q1005 RMK RF00.0/000.0 So it's 43°C outside, but it feels worse thanks to the north wind which is like an open oven door. Anyone else got a higher reading? Greg

Web API weird problems

2014-01-17 Thread Greg Keogh
Is anyone in here using Web API in anger? I'm experimenting with creating an API that is simple and easy for non .NET clients to use. Controller methods that return classes serialised as XML contain everything I expect but... *PROBLEM 1* : There are xmlsn= namespaces cluttering up the root node

Re: [OT] 43°C here

2014-01-17 Thread Greg Keogh
And I live south and west of there Where or what on Earth is inhabitable south west of Cunnamulla? -- Greg

Re: Web API weird problems

2014-01-17 Thread Greg Keogh
Have you looked at either of the solutions in http://stackoverflow.com/questions/12590801/remove-namespace-in-xml-from-asp-net-web-api First part doesn't work, second part will require unpaid research time (as usual) -- Greg

Re: Web API weird problems

2014-01-17 Thread Greg Keogh
The first thing I did was remove the XML serializer. Reverse that here ... I removed the Jason serialiser and only want the XML serialiser. As far as I'm concerned, Json is a polluting blight on us all. The C++ coding guys consuming my Web API will wet their pants if I tell them there's

[OT] Esent Workbench

2014-01-18 Thread Greg Keogh
Folks, I have created some projects to assist anyone using ESE (Extensible Storage Engine http://en.wikipedia.org/wiki/Extensible_Storage_Engine) databases and I've made the Bitbucket repositoryhttps://bitbucket.org/gfkeogh/esent-workbenchpublic. I've composed a quite detailed Wiki page

Web API response formatting

2014-01-19 Thread Greg Keogh
Folks, what is the recommended way of letting the caller choose the format of the response? I have a method that can return plain text or XML, so how does the caller choose the one they want? I could have a format= parameter on the method call (Rackspace do that), or is it better to inspect the

<    2   3   4   5   6   7   8   9   10   11   >