Preheat oven to 350 degrees. Fry bacon and drain, saving 4 T. bacon grease. While bacon is frying, chop onion. Saute onion in the reserved bacon grease. Mix in salt and flour. Next add corn and sour cream. Stirr together. Crumble half of the bacon into the mixture, stir well. Pour into a large casserole dish. Crumble the remaining bacon over the top of the mixture. Bake and Enjoy!