mayvelous

Me, Myself and Mayvelous

Archive for the ‘.Net’ Category

Dear DotLucene

Back in 2007 I posted a study notes post where I was planning to post about DotLucene and have forgotten about it. The other day I found these notes in my Google Notebook. Instead of lost and forgotten in my Google Notebook, it’s better to share here so someone can make a good use of it. These are just links and notes dump that I found over various sites. I hope I didn’t forget to add the link back references for all the notes.

What is Lucene.Net?

[ # ] Lucene.Net is a source code, class-per-class, API-per-API and algorithmatic port of the Java Lucene search engine to the C# and .NET platform utilizing Microsoft .NET Framework.

Lucene.Net sticks to the APIs and classes used in the original Java implementation of Lucene. The API names as well as class names are preserved with the intention of giving Lucene.Net the look and feel of the C# language and the .NET Framework. For example, the method Hits.length() in the Java implementation now reads Hits.Length() in the C# port.

In addition to the APIs and classes port to C#, the algorithm of Java Lucene is ported to C# Lucene. This means an index created with Java Lucene is back-and-forth compatible with the C# Lucene; both at reading, writing and updating. In fact a Lucene index can be concurrently searched and updated using Java Lucene and C# Lucene processes.

(more…)

I was trying to deploy a .NET 2.0 application using ClickOnce Deployment the other day.
I had all the IIS settings configured and folder paths entered correctly.
When I clicked ‘Publish Now’, I got an error message that made me wonder if I needed to reinstall Visual Studio.

Cannot publish because a project failed to build.
Could not find required file ’setup.bin’ in ‘C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Engine’.

Publishing ClickOnce Deployment

My first reaction was oh damn, I don’t want to reinstall whatever it is that’s broken.
My second smarter reaction was to google the error :)
Found this post on MSDN forums.

Basically, it was AVG Antivirus 8.0 that incorrectly identified and quarantined a required file as a Trojan.
AVG Free marked the file C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Engine\setup.bin as a Trojan horse BackDoor.VB.DIY

AVG Free Virus Vault

Simply select the file and click the ‘Restore’ button from AVG’s Virus Vault. (So glad I havn’t been emptying my vault!)

Once that little error was corrected, it was a simple matter to click ‘Publish Now’ again and I was happily on my way to my first ever ClickOnce Deployment!
I’m glad it wasn’t a serious problem requiring reinstalls.

Some days, I wonder if I want to keep an antivirus program running on my computer.
I don’t need much protection as I am careful in my mail box and I rarely visit websites out of google’s domain.
Google Reader gets me everything I want to read anyway.
Scratch that thought I lend my flash drive out to other people sometimes so it wouldn’t be a good idea to have no protection.
I trust myself but you just can’t trust people’s machines.

Just going through my feeds and this one interests me. There is an announcement of the next version of Visual Studio and .Net Framework: Visual Studio 2010 and .Net Framework 4.0.

Visual Studio 2010 and the .NET Framework 4.0 mark the next generation of developer tools from Microsoft. Designed to address the latest needs of developers, Visual Studio and the .NET Framework deliver key innovations in the following pillars:

  • Democratizing Application Lifecycle Management
    Application Lifecycle Management (ALM) crosses many roles within an organization and traditionally not every one of the roles has been an equal player in the process. Visual Studio Team System 2010 continues to build the platform for functional equality and shared commitment across an organization’s ALM process.
  • Enabling emerging trends
    Every year the industry develops new technologies and new trends. With Visual Studio 2010, Microsoft delivers tooling and framework support for the latest innovations in application architecture, development and deployment.
  • Inspiring developer delight
    Ever since the first release of Visual Studio, Microsoft has set the bar for developer productivity and flexibility. Visual Studio 2010 continues to deliver on the core developer experience by significantly improving upon it for roles involved with the software development process.
  • Riding the next generation platform wave
    Microsoft continues to invest in the market leading operating system, productivity application and server platforms to deliver increased customer value in these offerings. With Visual Studio 2010 customers will have the tooling support needed to create amazing solutions around these technologies.
  • Breakthrough Departmental Applications
    Customers continue to build applications that span from department to the enterprise. Visual Studio 2010 will ensure development is supported across this wide spectrum of applications.

Here is a full overview of Visual Studio 2010 and .NET Framework 4.0 and some more reading on vSTS 2010 (code-name “Rosario”): What’s new in Visual Studio Team System 2010. Read some more detail announcement on Somasegar’s (senior vice president of the Developer Division at Microsoft) post: What’s next for Visual Studio and .NET FX?

Ok, that’s about it for now.

Just an aside note for myself.

Visual Studio Gallery
A place where all developers can go to find extensions to Visual Studio. The site has everything from community built power toys for VS to industry partner solutions for enterprise development.

MSDN Code Gallery
MSDN Code Gallery is your destination for downloading sample applications and code snippets , as well as sharing your own resources.

Via: (#) | (#)

Updated: New Features. Thx Anthony.

This is what I mean by I.T being cool yet sux, or exciting yet pain in the god knows where! We cannot survive in I.T profession if we don’t update yourself, ie. like…forever … and ever.

Professional-series certifications (MCITP and MCPD) require an update every three years from the date that you earned the certification, or your certification will lapse.

More info: New Generation Certification Lifecycle Policies

So like, I recently done 5 exams and become MCPD – Enterprise Application Developer or whatever. I still haven’t receive the certificates yet, must have been lost along with the Cyclone Gene. I entered my home address for mailing; should have use P.O.Box or work address.

Anyhow, according to that certification lifecycle policies, those papers prove their worth for 3years; after that you can throw them away and start pursuing new set of papers. So mine will last till 2011, then what – I don’t know.

PS: The Second Shot offer extended till June 30, 2008 so you might as well take that chance and finish as much as you can.

  • 2 Comments
  • Filed under: .Net, News, Technology
  • Filtering Date Parts in LLBLGen

    Keeping in mind that LLBLGen generate dynamic sql statements and no need for storeprocedures, sometimes it’s hard for me to find the right code to retrieve data using complicated queries. Eg. those of multiple JOIN statements and DATEPART functions.

    The followings can be used in search functions where you search by date range or by datepart such as by Day or Month or Year.

    For my first scenario, I want to search records by “Date” ie. “dd/MM/yyyy” only and not considering the Time part.

    By default when you insert a Date using WinForm DateTimePicker or Infragistic ultraDatePicker, the Time part goes in as 0s. eg. “10/01/2008 12:00:00″. But sometimes there are cases where you have to record the Time as well. My saved records include default Date values as well as DateTime values.

    (more…)

  • 2 Comments
  • Filed under: .Net, C#, Development, Work
  • Source code for .Net Framework Libraries are available for download with the next release of VS 2008 and .Net 3.5 next year.
    ScottGu explains more
    .

    Have been said, it’s way too advance for me to dig through those source code as I’m still struggling to learn the efficient use of the libraries itself. But hey, it’s all good that you get the source too. Cool!

    Flickr Photos

    • 04-02_web_designer_flowchart
      hahaha_2
      091001Account Transaction Screenshot
      Level of Intimacy
      Shinobi Life
      Tears To Tiara

    Downloads

    Twitter Status


    Goodie Links


    Mayvelous Friends


    WidgetBucks
    oDesk
    FlashDen
    ThemeForest
    AudioJungle

    I'm an Author for Global Voices

    Archives